rodata cleanup. "unable to" == "cannot". -300 bytes

This commit is contained in:
Denis Vlasenko
2006-11-18 22:04:09 +00:00
parent 61126ab30a
commit 89f0b3486d
24 changed files with 65 additions and 65 deletions

View File

@ -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;
}

View File

@ -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");