openbsd-ports/net/mtr/patches/patch-aa

12 lines
300 B
Plaintext

--- mtr.c.orig Thu Aug 19 09:42:43 1999
+++ mtr.c Fri Mar 3 23:16:23 2000
@@ -158,7 +158,7 @@
net_preopen_result = net_preopen ();
/* Now drop to user permissions */
- if(seteuid(getuid())) {
+ if(setuid(getuid())) {
printf("mtr: Unable to drop permissions.\n");
exit(1);
}