diff options
Diffstat (limited to 'libbb/create_icmp6_socket.c')
-rw-r--r-- | libbb/create_icmp6_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/create_icmp6_socket.c b/libbb/create_icmp6_socket.c index d8ff35a..c3d1b55 100644 --- a/libbb/create_icmp6_socket.c +++ b/libbb/create_icmp6_socket.c @@ -32,7 +32,7 @@ int create_icmp6_socket(void) } /* drop root privs if running setuid */ - setuid(getuid()); + xsetuid(getuid()); return sock; } |