diff --git a/src/sigar_fileinfo.c b/src/sigar_fileinfo.c index 1d54a350..fdf2604d 100644 --- a/src/sigar_fileinfo.c +++ b/src/sigar_fileinfo.c @@ -653,7 +653,7 @@ static int dir_stat_get(sigar_t *sigar, dirstats, recurse); if ((status != SIGAR_OK) && do_log) { sigar_log_printf(sigar, SIGAR_LOG_WARN, - "dir_stat: %s: %s\n", + "dir_stat: cannot stat `%s': %s\n", name, sigar_strerror(sigar, status)); }