aboutsummaryrefslogtreecommitdiff
path: root/libbb/dump.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-06 18:36:50 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-06 18:36:50 +0000
commit601d93b47b8ac41f1fd763db15f05b6419c0b398 (patch)
tree768c23fe79bb81583de7376a4d744632d888d303 /libbb/dump.c
parent05fa38a6084b2f829750451d934f18c4dad62776 (diff)
downloadbusybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.tar.gz
busybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.tar.bz2
busybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.zip
Implement optional syslog logging using ordinary
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually. git-svn-id: svn://busybox.net/trunk/busybox@16058 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/dump.c')
-rw-r--r--libbb/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/dump.c b/libbb/dump.c
index 28f745fb6..d76cbc0b7 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -220,7 +220,7 @@ static void rewrite(FS * fs)
220 } 220 }
221 } else { 221 } else {
222 DO_BAD_CONV_CHAR: 222 DO_BAD_CONV_CHAR:
223 bb_error_msg_and_die("bad conversion character %%%s.\n", p1); 223 bb_error_msg_and_die("bad conversion character %%%s.", p1);
224 } 224 }
225 225
226 /* 226 /*
@@ -253,7 +253,7 @@ static void rewrite(FS * fs)
253 253
254 /* only one conversion character if byte count */ 254 /* only one conversion character if byte count */
255 if (!(pr->flags & F_ADDRESS) && fu->bcnt && nconv++) { 255 if (!(pr->flags & F_ADDRESS) && fu->bcnt && nconv++) {
256 bb_error_msg_and_die("byte count with multiple conversion characters.\n"); 256 bb_error_msg_and_die("byte count with multiple conversion characters.");
257 } 257 }
258 } 258 }
259 /* 259 /*