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

This commit is contained in:
cgd 1999-04-29 17:34:49 +00:00
parent 0792acce0d
commit 2b9f4ca12d
1 changed files with 2 additions and 2 deletions

View File

@ -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. * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@ -136,7 +136,7 @@ osf1_sys_ioctl(p, v, retval)
#endif #endif
SCARG(&a, fd) = SCARG(uap, fd); 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); SCARG(&a, data) = SCARG(uap, data);
switch (group) { switch (group) {
case 'f': case 'f':