diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-06 22:36:50 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-06 22:36:50 +0400 |
commit | 3538b9a8822421b7c8596a33a917dcf2f99c92b7 (patch) | |
tree | 768c23fe79bb81583de7376a4d744632d888d303 /networking/traceroute.c | |
parent | 5d725462d44268f9a86030daaa6f6396d32f796c (diff) |
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 b6a885544..3e142d01a 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; } |