diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-13 09:08:27 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-13 09:08:27 +0100 |
commit | 6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch) | |
tree | ccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /networking/libiproute | |
parent | f4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff) | |
download | busybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz |
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/ipaddress.c | 2 | ||||
-rw-r--r-- | networking/libiproute/iproute.c | 4 | ||||
-rw-r--r-- | networking/libiproute/iptunnel.c | 6 | ||||
-rw-r--r-- | networking/libiproute/libnetlink.c | 2 | ||||
-rw-r--r-- | networking/libiproute/ll_map.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index fcf9623e4..c450c6a9f 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c @@ -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"); } } diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 7031bed34..67eb90b84 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c @@ -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); diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c index 836709c7e..67afd1bfd 100644 --- a/networking/libiproute/iptunnel.c +++ b/networking/libiproute/iptunnel.c @@ -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) diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c index b4cc8dfa4..9e6467de5 100644 --- a/networking/libiproute/libnetlink.c +++ b/networking/libiproute/libnetlink.c @@ -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; } diff --git a/networking/libiproute/ll_map.c b/networking/libiproute/ll_map.c index 3c4ef2c32..246b9e33a 100644 --- a/networking/libiproute/ll_map.c +++ b/networking/libiproute/ll_map.c @@ -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; } |