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/pending/init.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/pending/init.c')
-rw-r--r-- | toys/pending/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/init.c b/toys/pending/init.c index 559ab09b..751f987d 100644 --- a/toys/pending/init.c +++ b/toys/pending/init.c @@ -155,8 +155,8 @@ static void inittab_parsing(void) case 1: if (*extracted_token) { if (!strncmp(extracted_token, "/dev/", 5)) - tty_name = xmsprintf("%s",extracted_token); - else tty_name = xmsprintf("/dev/%s",extracted_token); + tty_name = xmprintf("%s",extracted_token); + else tty_name = xmprintf("/dev/%s",extracted_token); } else tty_name = xstrdup(""); break; case 2: |