about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRoy van den Broek <rbroek@cs.uu.nl>2006-11-29T21·58+0000
committerRoy van den Broek <rbroek@cs.uu.nl>2006-11-29T21·58+0000
commit92417600a1f26510d50310afef19b75c541d05df (patch)
tree521ce897ef88046d8fe4fa83e3bb8bb99da838a3 /src
parent71e867c5f5ee2c188244da33366e506935abffb7 (diff)
* Example script to set permissions for setuid operation.
Diffstat (limited to 'src')
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 8bd15a9aef13..1634b6660b8d 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -943,7 +943,7 @@ SwitchToOriginalUser::~SwitchToOriginalUser()
 void switchToNixUser()
 {
     fprintf(stderr, "real = %d/%d, effective = %d/%d\n",
-        getuid(), geteuid(), getgid(), getegid());
+        getuid(), getgid(), geteuid(), getegid());
 
     /* Note: we require setresuid for now since I don't want to think
        to deeply about whether this works on systems that don't have