diff toys/lsb/umount.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 ac4a0cde89c2
children 4d898affda0c
line wrap: on
line diff
--- a/toys/lsb/umount.c	Wed Jan 15 09:38:31 2014 -0600
+++ b/toys/lsb/umount.c	Thu Jan 16 09:26:50 2014 -0600
@@ -57,7 +57,7 @@
     char *comma = ",";
 
     if (atold[strlen(atold)-1] == ',') comma = "";
-    temp = xmsprintf("%s%s%s", atold, comma, new);
+    temp = xmprintf("%s%s%s", atold, comma, new);
   } else temp = xstrdup(new);
   free (atold);
   *old = temp;