diff toys/posix/nohup.c @ 1183:0752b2d58909 draft

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.
author Rob Landley <rob@landley.net>
date Thu, 16 Jan 2014 09:26:50 -0600
parents 144d5ba7d410
children 76965793e8f4
line wrap: on
line diff
--- a/toys/posix/nohup.c	Wed Jan 15 09:38:31 2014 -0600
+++ b/toys/posix/nohup.c	Thu Jan 16 09:26:50 2014 -0600
@@ -28,7 +28,7 @@
         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);
     }
   }