]> granicus.if.org Git - strace/commitdiff
2003-01-13 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 07:53:34 +0000 (07:53 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 07:53:34 +0000 (07:53 +0000)
* ioctl.c (ioctl_decode) [POWERPC]: Decode term ioctls like Alpha.
From Anton Blanchard <anton@samba.org>.

ioctl.c

diff --git a/ioctl.c b/ioctl.c
index 2af2743e125aaa784962779cf1d3578f676d05ce..5d09328b8342fd55f979ca14266da068cc8ce58e 100644 (file)
--- a/ioctl.c
+++ b/ioctl.c
@@ -100,7 +100,7 @@ long code, arg;
 {
        switch ((code >> 8) & 0xff) {
 #ifdef LINUX
-#ifdef ALPHA
+#if defined(ALPHA) || defined(POWERPC)
        case 'f': case 't': case 'T':
 #else /* !ALPHA */
        case 0x54: