From 59d85e2bb065a3bdc27868acb7a65f89d872c7fa Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 16 Jan 2014 09:26:50 -0600 Subject: 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. --- toys/pending/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/pending/syslogd.c') diff --git a/toys/pending/syslogd.c b/toys/pending/syslogd.c index e272691d..28b14132 100644 --- a/toys/pending/syslogd.c +++ b/toys/pending/syslogd.c @@ -176,7 +176,7 @@ static int parse_config_file(void) */ 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; } -- cgit v1.2.3