summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/users.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/users.texi b/manual/users.texi
index 406e48bfb5..20deeabdd2 100644
--- a/manual/users.texi
+++ b/manual/users.texi
@@ -573,7 +573,7 @@ feature with a preprocessor conditional, like this:
 
 @smallexample
 #ifdef _POSIX_SAVED_IDS
-  setuid (user_user_id);
+  seteuid (user_user_id);
 #else
   setreuid (geteuid (), getuid ());
 #endif