diff options
author | Rob Landley <rob@landley.net> | 2014-01-16 09:26:50 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-01-16 09:26:50 -0600 |
commit | 59d85e2bb065a3bdc27868acb7a65f89d872c7fa (patch) | |
tree | 25db9183f6e142b7c5f12b69e9728aaa98f5bbd6 /toys/posix/nohup.c | |
parent | 2ded83376cb822198e83048335417a0e870f2240 (diff) | |
download | toybox-59d85e2bb065a3bdc27868acb7a65f89d872c7fa.tar.gz |
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.
Diffstat (limited to 'toys/posix/nohup.c')
-rw-r--r-- | toys/posix/nohup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/nohup.c b/toys/posix/nohup.c index e4354554..42d0e116 100644 --- a/toys/posix/nohup.c +++ b/toys/posix/nohup.c @@ -28,7 +28,7 @@ void nohup_main(void) S_IRUSR|S_IWUSR )) { char *temp = getenv("HOME"); - temp = xmsprintf("%s/%s", temp ? temp : "", "nohup.out"); + temp = xmprintf("%s/%s", temp ? temp : "", "nohup.out"); xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, S_IRUSR|S_IWUSR); } } |