rodata cleanup. "unable to" == "cannot". -300 bytes
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
Reference in New Issue
Block a user