diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-07 20:17:41 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-07 20:17:41 +0000 |
commit | 19008b83735341c91fa8a09a072ffe9816c9e423 (patch) | |
tree | 6e35288c247102998a775cbc16f9ec014e00e7fd /libbb | |
parent | 4c5ad2fc90389bf1239f17d84967d07b82f31dd7 (diff) | |
download | busybox-19008b83735341c91fa8a09a072ffe9816c9e423.tar.gz |
- reuse strings and messages. Saves about 600B
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/messages.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index 89ac94e13..f21579861 100644 --- a/libbb/messages.c +++ b/libbb/messages.c @@ -38,11 +38,17 @@ const char * const bb_msg_unknown = "(unknown)"; #endif #ifdef L_can_not_create_raw_socket - const char * const bb_msg_can_not_create_raw_socket = "can`t create raw socket"; + const char * const bb_msg_can_not_create_raw_socket = "can't create raw socket"; #endif #ifdef L_perm_denied_are_you_root const char * const bb_msg_perm_denied_are_you_root = "permission denied. (are you root?)"; #endif +#ifdef L_msg_requires_arg + const char * const bb_msg_requires_arg = "%s requires an argument"; +#endif +#ifdef L_msg_invalid_arg + const char * const bb_msg_invalid_arg = "invalid argument `%s' to `%s'"; +#endif #ifdef L_msg_standard_input const char * const bb_msg_standard_input = "standard input"; #endif |