diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/pmap.c b/toys/other/pmap.c index 012280dd..1cc04220 100644 --- a/toys/other/pmap.c +++ b/toys/other/pmap.c @@ -35,7 +35,7 @@ void pmap_main(void) int count, xx = 0; snprintf(toybuf, sizeof(toybuf), "/proc/%u/cmdline", pid); - line = readfile(toybuf); + line = readfile(toybuf, 0, 0); if (!line) error_msg("No %lu", (long)pid); xprintf("%u: %s\n", (int)pid, line); free(line); |