summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-20 22:27:42 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-20 22:27:42 +0000
commit9cdc774d050c53e75fd55e69c9359da4c38ac151 (patch)
tree70b270c029a8e28a74aa58442b5b99f734169637
parent48244d09317581396dc0c22bdb69489dc0ea4c5a (diff)
downloadglibc-9cdc774d050c53e75fd55e69c9359da4c38ac151.tar.gz
glibc-9cdc774d050c53e75fd55e69c9359da4c38ac151.tar.xz
glibc-9cdc774d050c53e75fd55e69c9359da4c38ac151.zip
Update.
1998-10-20  H.J. Lu  <hjl@gnu.org> 
 
        * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix 
        argument types.
 
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/i386/setresuid.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7021012ee4..4543eb2e07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-20  H.J. Lu  <hjl@gnu.org> 
+ 
+        * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix 
+        argument types.
+ 
 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
 
 	* math/tgmath.h: Make nested function calls work.
diff --git a/sysdeps/unix/sysv/linux/i386/setresuid.c b/sysdeps/unix/sysv/linux/i386/setresuid.c
index 49b4f21378..5100681d2f 100644
--- a/sysdeps/unix/sysv/linux/i386/setresuid.c
+++ b/sysdeps/unix/sysv/linux/i386/setresuid.c
@@ -29,7 +29,7 @@ extern int __syscall_setresuid (__kernel_uid_t rgid, __kernel_uid_t egid,
 				__kernel_uid_t sgid);
 
 int
-__setresuid (gid_t ruid, gid_t euid, gid_t suid)
+__setresuid (uid_t ruid, uid_t euid, uid_t suid)
 {
   if ((ruid != (uid_t) ((__kernel_uid_t) ruid))
       || (euid != (uid_t) ((__kernel_uid_t) euid))