diff options
Diffstat (limited to 'toys/other/pwdx.c')
-rw-r--r-- | toys/other/pwdx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/pwdx.c b/toys/other/pwdx.c index b2acc411..bde16e79 100644 --- a/toys/other/pwdx.c +++ b/toys/other/pwdx.c @@ -23,7 +23,7 @@ void pwdx_main(void) char *path; int num_bytes; - path = xmsprintf("/proc/%s/cwd", *optargs); + path = xmprintf("/proc/%s/cwd", *optargs); num_bytes = readlink(path, toybuf, sizeof(toybuf)-1); free(path); |