diff options
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 */ |