diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/seteuid.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/seteuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/seteuid.c b/sysdeps/unix/sysv/linux/seteuid.c index c8e3950..20840db 100644 --- a/sysdeps/unix/sysv/linux/seteuid.c +++ b/sysdeps/unix/sysv/linux/seteuid.c @@ -23,7 +23,7 @@ #ifdef __NR_setresuid -extern int __syscall_setresuid (uid_t ruid, uid_t euid, uid_t suid); +extern int __setresuid (uid_t ruid, uid_t euid, uid_t suid); int seteuid (uid_t uid) @@ -37,7 +37,7 @@ seteuid (uid_t uid) } /* First try the syscall. */ - result = __syscall_setresuid (-1, uid, -1); + result = __setresuid (-1, uid, -1); if (result == -1 && errno == ENOSYS) /* No system call available. Use emulation. This may not work since `setreuid' also sets the saved user ID when UID is not |