fix dlinfo_modules return status

This commit is contained in:
Doug MacEachern 2008-07-12 15:46:53 +00:00
parent cb61c1eacd
commit 311714fcc3
1 changed files with 1 additions and 1 deletions

View File

@ -968,7 +968,7 @@ int sigar_dlinfo_modules(sigar_t *sigar, sigar_proc_modules_t *procmods)
if (status != SIGAR_OK) {
/* not an error; just stop iterating */
return status;
break;
}
} while ((map = map->l_next));