diff options
author | Denis Vlasenko | 2006-09-06 18:36:50 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-06 18:36:50 +0000 |
commit | 3538b9a8822421b7c8596a33a917dcf2f99c92b7 (patch) | |
tree | 768c23fe79bb81583de7376a4d744632d888d303 /networking/traceroute.c | |
parent | 5d725462d44268f9a86030daaa6f6396d32f796c (diff) | |
download | busybox-3538b9a8822421b7c8596a33a917dcf2f99c92b7.zip busybox-3538b9a8822421b7c8596a33a917dcf2f99c92b7.tar.gz |
Implement optional syslog logging using ordinary
bb_xx_msg calls, and convert networking/* to it.
The rest of bbox will be converted gradually.
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r-- | networking/traceroute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index b6a8855..3e142d0 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -515,16 +515,16 @@ str2val(const char *str, const char *what, int mi, int ma) } else val = (int)strtol(str, &ep, 10); if (*ep != '\0') { - bb_error_msg_and_die("\"%s\" bad value for %s \n", str, what); + bb_error_msg_and_die("\"%s\" bad value for %s", str, what); } if (val < mi && mi >= 0) { if (mi == 0) - bb_error_msg_and_die("%s must be >= %d\n", what, mi); + bb_error_msg_and_die("%s must be >= %d", what, mi); else - bb_error_msg_and_die("%s must be > %d\n", what, mi - 1); + bb_error_msg_and_die("%s must be > %d", what, mi - 1); } if (val > ma && ma >= 0) - bb_error_msg_and_die("%s must be <= %d\n", what, ma); + bb_error_msg_and_die("%s must be <= %d", what, ma); return val; } |