*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -426,7 +426,7 @@ int ipaddr_list_or_flush(char **argv, int flush)
|
||||
bb_error_msg_and_die(bb_msg_requires_arg, "flush");
|
||||
}
|
||||
if (filter.family == AF_PACKET) {
|
||||
bb_error_msg_and_die("cannot flush link addresses");
|
||||
bb_error_msg_and_die("can't flush link addresses");
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -499,7 +499,7 @@ static void iproute_flush_cache(void)
|
||||
}
|
||||
|
||||
if (write(flush_fd, "-1", 2) < 2) {
|
||||
bb_perror_msg("cannot flush routing cache");
|
||||
bb_perror_msg("can't flush routing cache");
|
||||
return;
|
||||
}
|
||||
close(flush_fd);
|
||||
@@ -681,7 +681,7 @@ static int iproute_list_or_flush(char **argv, int flush)
|
||||
if (filter.tb != -1) {
|
||||
xrtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE);
|
||||
} else if (rtnl_rtcache_request(&rth, do_ipv6) < 0) {
|
||||
bb_perror_msg_and_die("cannot send dump request");
|
||||
bb_perror_msg_and_die("can't send dump request");
|
||||
}
|
||||
xrtnl_dump_filter(&rth, print_route, NULL);
|
||||
|
||||
|
@@ -222,7 +222,7 @@ static void parse_args(char **argv, int cmd, struct ip_tunnel_parm *p)
|
||||
}
|
||||
p->iph.protocol = IPPROTO_IPV6;
|
||||
} else {
|
||||
bb_error_msg_and_die("%s tunnel mode", "cannot guess");
|
||||
bb_error_msg_and_die("%s tunnel mode", "can't guess");
|
||||
}
|
||||
} else if (key == ARG_key) {
|
||||
unsigned uval;
|
||||
@@ -377,7 +377,7 @@ static int do_add(int cmd, char **argv)
|
||||
case IPPROTO_IPV6:
|
||||
return do_add_ioctl(cmd, "sit0", &p);
|
||||
default:
|
||||
bb_error_msg_and_die("cannot determine tunnel mode (ipip, gre or sit)");
|
||||
bb_error_msg_and_die("can't determine tunnel mode (ipip, gre or sit)");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -499,7 +499,7 @@ static void do_tunnels_list(struct ip_tunnel_parm *p)
|
||||
continue;
|
||||
type = do_ioctl_get_iftype(name);
|
||||
if (type == -1) {
|
||||
bb_error_msg("cannot get type of [%s]", name);
|
||||
bb_error_msg("can't get type of [%s]", name);
|
||||
continue;
|
||||
}
|
||||
if (type != ARPHRD_TUNNEL && type != ARPHRD_IPGRE && type != ARPHRD_SIT)
|
||||
|
@@ -242,7 +242,7 @@ int FAST_FUNC rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
|
||||
status = sendmsg(rtnl->fd, &msg, 0);
|
||||
|
||||
if (status < 0) {
|
||||
bb_perror_msg("cannot talk to rtnetlink");
|
||||
bb_perror_msg("can't talk to rtnetlink");
|
||||
goto ret;
|
||||
}
|
||||
|
||||
|
@@ -193,7 +193,7 @@ int FAST_FUNC xll_name_to_index(const char *name)
|
||||
}
|
||||
/* out:*/
|
||||
if (ret <= 0)
|
||||
bb_error_msg_and_die("cannot find device \"%s\"", name);
|
||||
bb_error_msg_and_die("can't find device '%s'", name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user