diff --git a/src/sigar_util.c b/src/sigar_util.c index fa77a16a..d818a62d 100644 --- a/src/sigar_util.c +++ b/src/sigar_util.c @@ -424,7 +424,7 @@ sigar_iodev_t *sigar_iodev_get(sigar_t *sigar, "[iodev] inode stat(%s) failed", fsp->dir_name); } - return NULL; /* cant cache w/o inode */ + continue; /* cant cache w/o inode */ } ent = sigar_cache_get(sigar->fsdev, SIGAR_FSDEV_ID(sb));