summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/setresgid.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-03-01 06:55:57 +0000
committerJakub Jelinek <jakub@redhat.com>2006-03-01 06:55:57 +0000
commit6a8c1091fdc978b0e369f4ca3f58a07c2f8b9d33 (patch)
tree754e2649fcc68e83b3ad749cb5a1a1f7549ffafb /sysdeps/mach/hurd/setresgid.c
parent378b1353df56387b0706bc42cb661ff2227c8eb9 (diff)
downloadglibc-6a8c1091fdc978b0e369f4ca3f58a07c2f8b9d33.tar
glibc-6a8c1091fdc978b0e369f4ca3f58a07c2f8b9d33.tar.gz
glibc-6a8c1091fdc978b0e369f4ca3f58a07c2f8b9d33.tar.bz2
glibc-6a8c1091fdc978b0e369f4ca3f58a07c2f8b9d33.zip
Updated to fedora-glibc-20060301T0647
Diffstat (limited to 'sysdeps/mach/hurd/setresgid.c')
-rw-r--r--sysdeps/mach/hurd/setresgid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/setresgid.c b/sysdeps/mach/hurd/setresgid.c
index 5e3c7f0836..8fcf26eaf1 100644
--- a/sysdeps/mach/hurd/setresgid.c
+++ b/sysdeps/mach/hurd/setresgid.c
@@ -1,5 +1,5 @@
-/* setresgid -- set effective group ID, real group ID, and saved-set group ID
- Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+/* setresgid -- set real group ID, effective group ID, and saved-set group ID
+ Copyright (C) 2002, 2005, 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
@@ -22,10 +22,10 @@
#include <hurd.h>
#include <hurd/id.h>
-/* Set the effective group ID, real group ID, and saved-set group ID,
- of the calling process to EGID, RGID, and SGID, respectively. */
+/* Set the real group ID, effective group ID, and saved-set group ID,
+ of the calling process to RGID, EGID, and SGID, respectively. */
int
-__setresgid (gid_t egid, gid_t rgid, gid_t sgid)
+__setresgid (gid_t rgid, gid_t egid, gid_t sgid)
{
auth_t newauth;
error_t err;