Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/osf1 in NetBSD, top 32 bits of ioctl com are alwa...



details:   https://anonhg.NetBSD.org/src/rev/b6077eb3153b
branches:  trunk
changeset: 472436:b6077eb3153b
user:      cgd <cgd%NetBSD.org@localhost>
date:      Thu Apr 29 17:34:49 1999 +0000

description:
in NetBSD, top 32 bits of ioctl com are always 0

diffstat:

 sys/compat/osf1/osf1_ioctl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 39cad7a113ab -r b6077eb3153b sys/compat/osf1/osf1_ioctl.c
--- a/sys/compat/osf1/osf1_ioctl.c      Thu Apr 29 17:20:37 1999 +0000
+++ b/sys/compat/osf1/osf1_ioctl.c      Thu Apr 29 17:34:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: osf1_ioctl.c,v 1.9 1999/04/28 02:16:07 cgd Exp $       */
+/*     $NetBSD: osf1_ioctl.c,v 1.10 1999/04/29 17:34:49 cgd Exp $      */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -136,7 +136,7 @@
 #endif
 
        SCARG(&a, fd) = SCARG(uap, fd);
-       SCARG(&a, com) = SCARG(uap, com);
+       SCARG(&a, com) = SCARG(uap, com) & 0xffffffff;          /* XXX */
        SCARG(&a, data) = SCARG(uap, data);
        switch (group) {
        case 'f':



Home | Main Index | Thread Index | Old Index