diff options
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r-- | networking/libiproute/iplink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 1cfaf6d6a..f826ba081 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
@@ -42,7 +42,7 @@ static int do_link; | |||
42 | 42 | ||
43 | static int on_off(char *msg) | 43 | static int on_off(char *msg) |
44 | { | 44 | { |
45 | error_msg("Error: argument of \"%s\" must be \"on\" or \"off\"", msg); | 45 | bb_error_msg("Error: argument of \"%s\" must be \"on\" or \"off\"", msg); |
46 | return -1; | 46 | return -1; |
47 | } | 47 | } |
48 | 48 | ||
@@ -211,7 +211,7 @@ static int parse_address(char *dev, int hatype, int halen, char *lla, struct ifr | |||
211 | if (alen < 0) | 211 | if (alen < 0) |
212 | return -1; | 212 | return -1; |
213 | if (alen != halen) { | 213 | if (alen != halen) { |
214 | error_msg("Wrong address (%s) length: expected %d bytes", lla, halen); | 214 | bb_error_msg("Wrong address (%s) length: expected %d bytes", lla, halen); |
215 | return -1; | 215 | return -1; |
216 | } | 216 | } |
217 | return 0; | 217 | return 0; |
@@ -293,7 +293,7 @@ static int do_set(int argc, char **argv) | |||
293 | } | 293 | } |
294 | 294 | ||
295 | if (!dev) { | 295 | if (!dev) { |
296 | error_msg("Not enough of information: \"dev\" argument is required."); | 296 | bb_error_msg("Not enough of information: \"dev\" argument is required."); |
297 | exit(-1); | 297 | exit(-1); |
298 | } | 298 | } |
299 | 299 | ||
@@ -358,6 +358,6 @@ int do_iplink(int argc, char **argv) | |||
358 | } else | 358 | } else |
359 | return ipaddr_list_link(0, NULL); | 359 | return ipaddr_list_link(0, NULL); |
360 | 360 | ||
361 | error_msg("Command \"%s\" is unknown, try \"ip link help\".", *argv); | 361 | bb_error_msg("Command \"%s\" is unknown, try \"ip link help\".", *argv); |
362 | exit(-1); | 362 | exit(-1); |
363 | } | 363 | } |