summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/mem.c b/sys/arch/i386/i386/mem.c
index 453b85c87b5..7110434be0e 100644
--- a/sys/arch/i386/i386/mem.c
+++ b/sys/arch/i386/i386/mem.c
@@ -1,5 +1,5 @@
/* $NetBSD: mem.c,v 1.31 1996/05/03 19:42:19 christos Exp $ */
-/* $OpenBSD: mem.c,v 1.5 1998/02/18 06:33:49 matthieu Exp $ */
+/* $OpenBSD: mem.c,v 1.6 1998/02/18 18:00:16 millert Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1982, 1986, 1990, 1993
@@ -90,7 +90,7 @@ mmopen(dev, flag, mode, p)
#endif
#ifdef APERTURE
case 4:
- if (suser(p->p_ucred, &p->p_acflag) != 0 ||
+ if (suser(p->p_ucred, &p->p_acflag) != 0)
return (EPERM);
/* authorize only one simultaneous open() */