about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/ioctl.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dfa0e2b80e..7aa07282bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-04-01  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
+	__tcgetattr() instead of tcgetattr().
+
 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
 	Use __GI_exit.
 
diff --git a/sysdeps/unix/sysv/linux/powerpc/ioctl.c b/sysdeps/unix/sysv/linux/powerpc/ioctl.c
index aa6d665d08..88ea9ff08b 100644
--- a/sysdeps/unix/sysv/linux/powerpc/ioctl.c
+++ b/sysdeps/unix/sysv/linux/powerpc/ioctl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2002, 2003, 2004 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
@@ -38,7 +38,7 @@ __ioctl (int fd, unsigned long int request, ...)
   switch (request)
     {
     case TCGETS:
-      result = tcgetattr (fd, (struct termios *) arg);
+      result = __tcgetattr (fd, (struct termios *) arg);
       break;
 
     case TCSETS: