diff options
Diffstat (limited to 'networking/ether-wake.c')
-rw-r--r-- | networking/ether-wake.c | 2 |
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[]) | |||
145 | s = make_socket(); | 145 | s = make_socket(); |
146 | 146 | ||
147 | /* now that we have a raw socket we can drop root */ | 147 | /* now that we have a raw socket we can drop root */ |
148 | setuid(getuid()); | 148 | xsetuid(getuid()); |
149 | 149 | ||
150 | /* look up the dest mac address */ | 150 | /* look up the dest mac address */ |
151 | get_dest_addr(argv[optind], &eaddr); | 151 | get_dest_addr(argv[optind], &eaddr); |