summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-18 22:04:09 +0000
committerDenis Vlasenko2006-11-18 22:04:09 +0000
commit89f0b3486dfea233e6000f9af95b39a3ea7fd96e (patch)
treefc0d65e0d33b5b526b0d44d4c4da8143be3b53b1 /networking
parent61126ab30a90b74e45a79ccb97074ab71afa6054 (diff)
downloadbusybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.zip
busybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.gz
rodata cleanup. "unable to" == "cannot". -300 bytes
Diffstat (limited to 'networking')
-rw-r--r--networking/ether-wake.c2
-rw-r--r--networking/nameif.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/ether-wake.c b/networking/ether-wake.c
index aaed4a0..cc2fb62 100644
--- a/networking/ether-wake.c
+++ b/networking/ether-wake.c
@@ -270,7 +270,7 @@ static inline int get_wol_pw(const char *ethoptarg, unsigned char *wol_passwd)
byte_cnt = sscanf(ethoptarg, "%d.%d.%d.%d",
&passwd[0], &passwd[1], &passwd[2], &passwd[3]);
if (byte_cnt < 4) {
- bb_error_msg("unable to read the Wake-On-LAN pass");
+ bb_error_msg("cannot read Wake-On-LAN pass");
return 0;
}
diff --git a/networking/nameif.c b/networking/nameif.c
index 385e7fb..52aad28 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -78,7 +78,7 @@ int nameif_main(int argc, char **argv)
while (*a) {
if (strlen(*a) > IF_NAMESIZE)
- bb_error_msg_and_die("interface name `%s' "
+ bb_error_msg_and_die("interface name '%s' "
"too long", *a);
ch = xzalloc(sizeof(mactable_t));
ch->ifname = xstrdup(*a++);
@@ -104,7 +104,7 @@ int nameif_main(int argc, char **argv)
ch = xzalloc(sizeof(mactable_t));
ch->ifname = xstrndup(line_ptr, name_length);
if (name_length > IF_NAMESIZE)
- bb_error_msg_and_die("interface name `%s' "
+ bb_error_msg_and_die("interface name '%s' "
"too long", ch->ifname);
line_ptr += name_length;
line_ptr += strspn(line_ptr, " \t");