summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/socppc/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/socppc/socppc/mem.c')
-rw-r--r--sys/arch/socppc/socppc/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/socppc/mem.c b/sys/arch/socppc/socppc/mem.c
index add5fc64368..a99549460d4 100644
--- a/sys/arch/socppc/socppc/mem.c
+++ b/sys/arch/socppc/socppc/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.1 2008/05/10 12:02:21 kettenis Exp $ */
+/* $OpenBSD: mem.c,v 1.2 2008/11/05 06:32:47 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
@@ -89,7 +89,7 @@ mmclose(dev_t dev, int flag, int mode, struct proc *p)
{
#ifdef xAPERTURE
if (minor(dev) == 4)
- ap_open_count--;
+ ap_open_count = 0;
#endif
return 0;
}