summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hp300/dev/hil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/hil.c b/sys/arch/hp300/dev/hil.c
index 3b41473254b..bf93d1eec0a 100644
--- a/sys/arch/hp300/dev/hil.c
+++ b/sys/arch/hp300/dev/hil.c
@@ -246,7 +246,7 @@ hilclose(dev, flags, mode, p)
u_char device = HILUNIT(dev);
char mask, lpctrl;
int s;
- extern struct emul emul_netbsd;
+ extern struct emul emul_native;
#ifdef DEBUG
if (hildebug & HDB_FOLLOW)
@@ -257,7 +257,7 @@ hilclose(dev, flags, mode, p)
if (device && (dptr->hd_flags & HIL_PSEUDO))
return (0);
- if (p && p->p_emul == &emul_netbsd) {
+ if (p && p->p_emul == &emul_native) {
/*
* If this is the loop device,
* free up all queues belonging to this process.