[patch] save ~600B
walter harms
wharms at bfs.de
Mon Jun 5 11:04:06 UTC 2006
hi bernhard,
just a minor question.
Does exit(-1) make sense ? so far i remember the shell expects 0-255.
re,
wh
Bernhard Fischer wrote:
> On Sun, Jun 04, 2006 at 08:49:16PM +0200, Bernhard Fischer wrote:
>> Hi,
>>
>> - use bb_msg_... in more places.
>>
>> While i think that this patch should be ok, i'd be glad if someone could
>> look over it (been staring at it for too long).
>>
>> TIA,
>> Bernhard
>
> updated version 02e
>
>
> ===================================================================
> --- networking/libiproute/utils.c (revision 15268)
> +++ networking/libiproute/utils.c (working copy)
> @@ -240,9 +240,9 @@
> exit(-1);
> }
>
> -void invarg(char *msg, char *arg)
> +void invarg(const char const *arg, const char const *opt)
> {
> - bb_error_msg("argument \"%s\" is wrong: %s", arg, msg);
> + bb_error_msg(bb_msg_invalid_arg, arg, opt);
> exit(-1);
> }
>
> Index: networking/libiproute/utils.h
More information about the busybox
mailing list