mmopen(): Consume the flag argument even if COMPAT_10 is not defined.

This commit is contained in:
thorpej 2006-10-12 04:31:03 +00:00
parent 435147e718
commit 8fa57c4c57
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mem.c,v 1.64 2006/10/12 01:30:42 christos Exp $ */
/* $NetBSD: mem.c,v 1.65 2006/10/12 04:31:03 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.64 2006/10/12 01:30:42 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.65 2006/10/12 04:31:03 thorpej Exp $");
#include "opt_compat_netbsd.h"
@ -126,6 +126,8 @@ mmopen(dev_t dev, int flag, int mode __unused, struct lwp *l __unused)
fp->tf_eflags |= PSL_IOPL;
}
break;
#else
(void) flag;
#endif
default: