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_icmp_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_icmp_socket.c')
-rw-r--r-- | libbb/create_icmp_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/create_icmp_socket.c b/libbb/create_icmp_socket.c index d804b3987..58d792b1b 100644 --- a/libbb/create_icmp_socket.c +++ b/libbb/create_icmp_socket.c | |||
@@ -25,9 +25,9 @@ int create_icmp_socket(void) | |||
25 | if ((sock = socket(AF_INET, SOCK_RAW, | 25 | if ((sock = socket(AF_INET, SOCK_RAW, |
26 | (proto ? proto->p_proto : 1))) < 0) { /* 1 == ICMP */ | 26 | (proto ? proto->p_proto : 1))) < 0) { /* 1 == ICMP */ |
27 | if (errno == EPERM) | 27 | if (errno == EPERM) |
28 | error_msg_and_die("permission denied. (are you root?)"); | 28 | bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); |
29 | else | 29 | else |
30 | perror_msg_and_die(can_not_create_raw_socket); | 30 | bb_perror_msg_and_die(bb_msg_can_not_create_raw_socket); |
31 | } | 31 | } |
32 | 32 | ||
33 | /* drop root privs if running setuid */ | 33 | /* drop root privs if running setuid */ |