aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-22 14:53:41 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-22 14:53:41 +0000
commit27ee7ba95e9735e34ca99566686ed16f6f924158 (patch)
tree786bc190746590e1d6f0c8319bb774152eeb7d07 /libbb
parent099efbf99e2cedfb1d0edf10c9447297554cf584 (diff)
downloadbusybox-w32-27ee7ba95e9735e34ca99566686ed16f6f924158.tar.gz
busybox-w32-27ee7ba95e9735e34ca99566686ed16f6f924158.tar.bz2
busybox-w32-27ee7ba95e9735e34ca99566686ed16f6f924158.zip
losetup: getopt_ulflags'ification + small fix for perror_nomsg
Diffstat (limited to 'libbb')
-rw-r--r--libbb/verror_msg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/verror_msg.c b/libbb/verror_msg.c
index 557b3290a..e670d40ba 100644
--- a/libbb/verror_msg.c
+++ b/libbb/verror_msg.c
@@ -27,7 +27,9 @@ void bb_verror_msg(const char *s, va_list p, const char* strerr)
27 if (!strerr) 27 if (!strerr)
28 fputs(msg_eol, stderr); 28 fputs(msg_eol, stderr);
29 else 29 else
30 fprintf(stderr, ": %s%s", strerr, msg_eol); 30 fprintf(stderr, "%s%s%s",
31 s ? ": " : "",
32 strerr, msg_eol);
31 } 33 }
32 if (ENABLE_FEATURE_SYSLOG && (logmode & LOGMODE_SYSLOG)) { 34 if (ENABLE_FEATURE_SYSLOG && (logmode & LOGMODE_SYSLOG)) {
33 if (!strerr) 35 if (!strerr)