aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /networking/libiproute
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.bz2
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
*: 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.c2
-rw-r--r--networking/libiproute/iproute.c4
-rw-r--r--networking/libiproute/iptunnel.c6
-rw-r--r--networking/libiproute/libnetlink.c2
-rw-r--r--networking/libiproute/ll_map.c2
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)
426 bb_error_msg_and_die(bb_msg_requires_arg, "flush"); 426 bb_error_msg_and_die(bb_msg_requires_arg, "flush");
427 } 427 }
428 if (filter.family == AF_PACKET) { 428 if (filter.family == AF_PACKET) {
429 bb_error_msg_and_die("cannot flush link addresses"); 429 bb_error_msg_and_die("can't flush link addresses");
430 } 430 }
431 } 431 }
432 432
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)
499 } 499 }
500 500
501 if (write(flush_fd, "-1", 2) < 2) { 501 if (write(flush_fd, "-1", 2) < 2) {
502 bb_perror_msg("cannot flush routing cache"); 502 bb_perror_msg("can't flush routing cache");
503 return; 503 return;
504 } 504 }
505 close(flush_fd); 505 close(flush_fd);
@@ -681,7 +681,7 @@ static int iproute_list_or_flush(char **argv, int flush)
681 if (filter.tb != -1) { 681 if (filter.tb != -1) {
682 xrtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE); 682 xrtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE);
683 } else if (rtnl_rtcache_request(&rth, do_ipv6) < 0) { 683 } else if (rtnl_rtcache_request(&rth, do_ipv6) < 0) {
684 bb_perror_msg_and_die("cannot send dump request"); 684 bb_perror_msg_and_die("can't send dump request");
685 } 685 }
686 xrtnl_dump_filter(&rth, print_route, NULL); 686 xrtnl_dump_filter(&rth, print_route, NULL);
687 687
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)
222 } 222 }
223 p->iph.protocol = IPPROTO_IPV6; 223 p->iph.protocol = IPPROTO_IPV6;
224 } else { 224 } else {
225 bb_error_msg_and_die("%s tunnel mode", "cannot guess"); 225 bb_error_msg_and_die("%s tunnel mode", "can't guess");
226 } 226 }
227 } else if (key == ARG_key) { 227 } else if (key == ARG_key) {
228 unsigned uval; 228 unsigned uval;
@@ -377,7 +377,7 @@ static int do_add(int cmd, char **argv)
377 case IPPROTO_IPV6: 377 case IPPROTO_IPV6:
378 return do_add_ioctl(cmd, "sit0", &p); 378 return do_add_ioctl(cmd, "sit0", &p);
379 default: 379 default:
380 bb_error_msg_and_die("cannot determine tunnel mode (ipip, gre or sit)"); 380 bb_error_msg_and_die("can't determine tunnel mode (ipip, gre or sit)");
381 } 381 }
382} 382}
383 383
@@ -499,7 +499,7 @@ static void do_tunnels_list(struct ip_tunnel_parm *p)
499 continue; 499 continue;
500 type = do_ioctl_get_iftype(name); 500 type = do_ioctl_get_iftype(name);
501 if (type == -1) { 501 if (type == -1) {
502 bb_error_msg("cannot get type of [%s]", name); 502 bb_error_msg("can't get type of [%s]", name);
503 continue; 503 continue;
504 } 504 }
505 if (type != ARPHRD_TUNNEL && type != ARPHRD_IPGRE && type != ARPHRD_SIT) 505 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,
242 status = sendmsg(rtnl->fd, &msg, 0); 242 status = sendmsg(rtnl->fd, &msg, 0);
243 243
244 if (status < 0) { 244 if (status < 0) {
245 bb_perror_msg("cannot talk to rtnetlink"); 245 bb_perror_msg("can't talk to rtnetlink");
246 goto ret; 246 goto ret;
247 } 247 }
248 248
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)
193 } 193 }
194/* out:*/ 194/* out:*/
195 if (ret <= 0) 195 if (ret <= 0)
196 bb_error_msg_and_die("cannot find device \"%s\"", name); 196 bb_error_msg_and_die("can't find device '%s'", name);
197 return ret; 197 return ret;
198} 198}
199 199