diff options
author | Bernhard Reutner-Fischer | 2006-06-07 20:17:41 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-06-07 20:17:41 +0000 |
commit | 19008b83735341c91fa8a09a072ffe9816c9e423 (patch) | |
tree | 6e35288c247102998a775cbc16f9ec014e00e7fd /networking/libiproute/iplink.c | |
parent | 4c5ad2fc90389bf1239f17d84967d07b82f31dd7 (diff) | |
download | busybox-19008b83735341c91fa8a09a072ffe9816c9e423.zip busybox-19008b83735341c91fa8a09a072ffe9816c9e423.tar.gz |
- reuse strings and messages. Saves about 600B
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r-- | networking/libiproute/iplink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 2797f02..9e30122 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c @@ -252,7 +252,7 @@ static int do_set(int argc, char **argv) if (mtu != -1) duparg("mtu", *argv); if (get_integer(&mtu, *argv, 0)) - invarg("Invalid \"mtu\" value\n", *argv); + invarg(*argv, "mtu"); } else if (strcmp(*argv, "multicast") == 0) { NEXT_ARG(); mask |= IFF_MULTICAST; @@ -286,7 +286,7 @@ static int do_set(int argc, char **argv) } if (!dev) { - bb_error_msg("Not enough of information: \"dev\" argument is required."); + bb_error_msg(bb_msg_requires_arg, "\"dev\""); exit(-1); } |