aboutsummaryrefslogtreecommitdiff
path: root/posix/setresuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/setresuid.c')
-rw-r--r--posix/setresuid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/posix/setresuid.c b/posix/setresuid.c
index 430b63b2fd..89263330e3 100644
--- a/posix/setresuid.c
+++ b/posix/setresuid.c
@@ -1,5 +1,5 @@
-/* setresuid -- set effective user ID, real user ID, and saved-set user ID
- Copyright (C) 2002 Free Software Foundation, Inc.
+/* setresuid -- set real user ID, effective user ID, and saved-set user ID
+ Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,10 +20,10 @@
#include <errno.h>
#include <unistd.h>
-/* Set the effective user ID, real user ID, and saved-set user ID,
- of the calling process to EUID, RUID, and SUID, respectively. */
+/* Set the real user ID, effective user ID, and saved-set user ID,
+ of the calling process to RUID, EUID, and SUID, respectively. */
int
-__setresuid (uid_t euid, uid_t ruid, uid_t suid)
+__setresuid (uid_t ruid, uid_t euid, uid_t suid)
{
__set_errno (ENOSYS);
return -1;