diff options
author | pjd <pjd@FreeBSD.org> | 2010-10-16 22:50:12 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-10-16 22:50:12 +0000 |
commit | 0d755a144bd1f830a6e0842e888e0102f1974fe3 (patch) | |
tree | 0da2fe4e88378d94b145c6fcfecc98d92c73baf8 /sbin | |
parent | 884d1009d2260bf8c4f924b6ae87f35d840f635d (diff) | |
download | FreeBSD-src-0d755a144bd1f830a6e0842e888e0102f1974fe3.zip FreeBSD-src-0d755a144bd1f830a6e0842e888e0102f1974fe3.tar.gz |
Use one fprintf() instead of two.
MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/pjdlog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/hastd/pjdlog.c b/sbin/hastd/pjdlog.c index 8912105..6a72e7a 100644 --- a/sbin/hastd/pjdlog.c +++ b/sbin/hastd/pjdlog.c @@ -214,8 +214,7 @@ pjdlogv_common(int loglevel, int debuglevel, int error, const char *fmt, /* Attach debuglevel if this is debug log. */ if (loglevel == LOG_DEBUG) fprintf(out, "[%d]", debuglevel); - fprintf(out, " "); - fprintf(out, "%s", pjdlog_prefix); + fprintf(out, " %s", pjdlog_prefix); vfprintf(out, fmt, ap); if (error != -1) fprintf(out, ": %s.", strerror(error)); |