diff options
Diffstat (limited to 'toys/other/vmstat.c')
-rw-r--r-- | toys/other/vmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/vmstat.c b/toys/other/vmstat.c index 4aa2144b..ef560fa9 100644 --- a/toys/other/vmstat.c +++ b/toys/other/vmstat.c @@ -66,7 +66,7 @@ static void get_vmstat_proc(struct vmstat_proc *vmstat_proc) continue; } else p = strafter(file, vmstuff[i]); if (!p || 1!=sscanf(p, "%"PRIu64"%n", new++, &j)) - error_exit("Bad %sin %s", vmstuff[i], name); + error_exit("Bad %sin %s: %s", vmstuff[i], name, p ? p : ""); p += j; } free(file); |