diff toys/pending/syslogd.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 e11684e3bbc5
children 0ecfaa7022e8
line wrap: on
line diff
--- a/toys/pending/syslogd.c	Wed Jan 15 09:38:31 2014 -0600
+++ b/toys/pending/syslogd.c	Thu Jan 16 09:26:50 2014 -0600
@@ -176,7 +176,7 @@
    */
   if (toys.optflags & FLAG_R) {
     file = xzalloc(sizeof(struct logfile));
-    file->filename = xmsprintf("@%s",TT.remote_log);
+    file->filename = xmprintf("@%s",TT.remote_log);
     TT.lfiles = file;
     if (!(toys.optflags & FLAG_L)) return 0;
   }