about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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