aboutsummaryrefslogtreecommitdiff
path: root/networking/ether-wake.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-07-16 08:06:34 +0000
committerRob Landley <rob@landley.net>2006-07-16 08:06:34 +0000
commitafb94ecf2bb6c53ce2a381d6ce45a426243c76d9 (patch)
tree0390f5cfb0cfd70882175f7e383a30d8cb1527cc /networking/ether-wake.c
parent25c194fd1941a7ba67d68a09fa101bc54a756a14 (diff)
downloadbusybox-afb94ecf2bb6c53ce2a381d6ce45a426243c76d9.tar.gz
Convert setuid/setgid users to xsetuid/xsetgid.
Diffstat (limited to 'networking/ether-wake.c')
-rw-r--r--networking/ether-wake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ether-wake.c b/networking/ether-wake.c
index b4fb0c2d1..1803d2265 100644
--- a/networking/ether-wake.c
+++ b/networking/ether-wake.c
@@ -145,7 +145,7 @@ int etherwake_main(int argc, char *argv[])
s = make_socket();
/* now that we have a raw socket we can drop root */
- setuid(getuid());
+ xsetuid(getuid());
/* look up the dest mac address */
get_dest_addr(argv[optind], &eaddr);