summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bi/if_ni.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bi/if_ni.c b/sys/dev/bi/if_ni.c
index 8a13d4b4801..09e29af265d 100644
--- a/sys/dev/bi/if_ni.c
+++ b/sys/dev/bi/if_ni.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ni.c,v 1.8 2000/12/14 07:02:53 thorpej Exp $ */
+/* $NetBSD: if_ni.c,v 1.9 2001/04/12 20:38:25 thorpej Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
*
@@ -344,7 +344,7 @@ niattach(parent, self, aux)
#if NBPG < 4096
#error pagesize too small
#endif
- s = splimp();
+ s = splvm();
/* Set up message free queue */
ni_getpgs(sc, NMSGBUF * 512, &va, 0);
for (i = 0; i < NMSGBUF; i++) {