From 59d85e2bb065a3bdc27868acb7a65f89d872c7fa Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 16 Jan 2014 09:26:50 -0600 Subject: Rename xmsprintf() to just xmprintf(). Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. --- toys/other/pwdx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/pwdx.c') 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); -- cgit v1.2.3