diff options
author | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-03-19 09:13:01 +0000 |
---|---|---|
committer | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-03-19 09:13:01 +0000 |
commit | e901c15d890dbbdce4c086963cb1513653fc46b5 (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /libbb/create_icmp6_socket.c | |
parent | 40758c00616c3b2c85d83eb4afdeb04b1f65c9f1 (diff) | |
download | busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.gz busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.bz2 busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.zip |
Major coreutils update.
git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/create_icmp6_socket.c')
-rw-r--r-- | libbb/create_icmp6_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/create_icmp6_socket.c b/libbb/create_icmp6_socket.c index 1d0b6b6bf..596610449 100644 --- a/libbb/create_icmp6_socket.c +++ b/libbb/create_icmp6_socket.c | |||
@@ -26,9 +26,9 @@ int create_icmp6_socket(void) | |||
26 | if ((sock = socket(AF_INET6, SOCK_RAW, | 26 | if ((sock = socket(AF_INET6, SOCK_RAW, |
27 | (proto ? proto->p_proto : IPPROTO_ICMPV6))) < 0) { | 27 | (proto ? proto->p_proto : IPPROTO_ICMPV6))) < 0) { |
28 | if (errno == EPERM) | 28 | if (errno == EPERM) |
29 | error_msg_and_die("permission denied. (are you root?)"); | 29 | bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); |
30 | else | 30 | else |
31 | perror_msg_and_die(can_not_create_raw_socket); | 31 | bb_perror_msg_and_die(bb_msg_can_not_create_raw_socket); |
32 | } | 32 | } |
33 | 33 | ||
34 | /* drop root privs if running setuid */ | 34 | /* drop root privs if running setuid */ |