diff options
author | Denis Vlasenko | 2006-11-18 22:04:09 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-18 22:04:09 +0000 |
commit | 89f0b3486dfea233e6000f9af95b39a3ea7fd96e (patch) | |
tree | fc0d65e0d33b5b526b0d44d4c4da8143be3b53b1 /networking | |
parent | 61126ab30a90b74e45a79ccb97074ab71afa6054 (diff) | |
download | busybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.zip busybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.gz |
rodata cleanup. "unable to" == "cannot". -300 bytes
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ether-wake.c | 2 | ||||
-rw-r--r-- | networking/nameif.c | 4 |
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"); |