about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-22 00:26:55 +0000
committerRoland McGrath <roland@gnu.org>2003-02-22 00:26:55 +0000
commit113d33e776f6ab899016aa2220b8a43a271f5e7f (patch)
tree3035514c3b0445ed9ca4b4eced535819ac16392e
parent9c03686dcc686aeedc6d6321b84553e140f5d27b (diff)
downloadglibc-113d33e776f6ab899016aa2220b8a43a271f5e7f.tar.gz
glibc-113d33e776f6ab899016aa2220b8a43a271f5e7f.tar.xz
glibc-113d33e776f6ab899016aa2220b8a43a271f5e7f.zip
2003-02-21 Roland McGrath <roland@redhat.com>
	* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
	* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
-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;