about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/unix/sysv/linux/i386/geteuid.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/getgid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/geteuid.c b/sysdeps/unix/sysv/linux/i386/geteuid.c
index 663c37f57b..3d98be3ce0 100644
--- a/sysdeps/unix/sysv/linux/i386/geteuid.c
+++ b/sysdeps/unix/sysv/linux/i386/geteuid.c
@@ -57,7 +57,7 @@ __geteuid (void)
 # endif /* __NR_geteuid32 */
 
   /* No error checking.  */
-  return INTERNAL_SYSCALL (getugid, err, 0);
+  return INTERNAL_SYSCALL (geteuid, err, 0);
 #endif
 }
 
diff --git a/sysdeps/unix/sysv/linux/i386/getgid.c b/sysdeps/unix/sysv/linux/i386/getgid.c
index da31f708b0..df076b4ca8 100644
--- a/sysdeps/unix/sysv/linux/i386/getgid.c
+++ b/sysdeps/unix/sysv/linux/i386/getgid.c
@@ -48,7 +48,7 @@ __getgid (void)
     {
       int result;
 
-      result = INTERNAL_SYSCALL (getdid32, err, 0);
+      result = INTERNAL_SYSCALL (getgid32, err, 0);
       if (! INTERNAL_SYSCALL_ERROR_P (result, err)
 	  || INTERNAL_SYSCALL_ERRNO (result, err) != ENOSYS)
 	return result;