aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/nohup.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/nohup.c')
-rw-r--r--toys/posix/nohup.c2
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);
}
}