diff options
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; } |