aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-10 10:01:49 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-10 10:01:49 +0100
commitdee0fc9da1b53efc4c5e0596428dda556995bc26 (patch)
tree7b3e0fcbb91271c5e98a991e1e1d3835981f8219
parent0fac2f7b5b0bacf2c1ad73215acb312e012f0227 (diff)
downloadbusybox-w32-dee0fc9da1b53efc4c5e0596428dda556995bc26.tar.gz
busybox-w32-dee0fc9da1b53efc4c5e0596428dda556995bc26.tar.bz2
busybox-w32-dee0fc9da1b53efc4c5e0596428dda556995bc26.zip
save 10 bytes on strings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/messages.c2
-rw-r--r--networking/wget.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index 2acbc3bca..fad82c9da 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -22,7 +22,7 @@
22const char bb_banner[] ALIGN1 = BANNER; 22const char bb_banner[] ALIGN1 = BANNER;
23 23
24 24
25const char bb_msg_memory_exhausted[] ALIGN1 = "memory exhausted"; 25const char bb_msg_memory_exhausted[] ALIGN1 = "out of memory";
26const char bb_msg_invalid_date[] ALIGN1 = "invalid date '%s'"; 26const char bb_msg_invalid_date[] ALIGN1 = "invalid date '%s'";
27const char bb_msg_unknown[] ALIGN1 = "(unknown)"; 27const char bb_msg_unknown[] ALIGN1 = "(unknown)";
28const char bb_msg_can_not_create_raw_socket[] ALIGN1 = "can't create raw socket"; 28const char bb_msg_can_not_create_raw_socket[] ALIGN1 = "can't create raw socket";
diff --git a/networking/wget.c b/networking/wget.c
index 8028f1230..74d90040f 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -192,7 +192,7 @@ static FILE *open_socket(len_and_sockaddr *lsa)
192 /* hopefully it understands what ESPIPE means... */ 192 /* hopefully it understands what ESPIPE means... */
193 fp = fdopen(xconnect_stream(lsa), "r+"); 193 fp = fdopen(xconnect_stream(lsa), "r+");
194 if (fp == NULL) 194 if (fp == NULL)
195 bb_perror_msg_and_die("fdopen"); 195 bb_perror_msg_and_die(bb_msg_memory_exhausted);
196 196
197 return fp; 197 return fp;
198} 198}