summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-10-09 00:43:49 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-10-09 00:43:49 +0000
commitc7f0ac42e7709a966a41de19cbcae057940c370a (patch)
tree66932d7c2d5d4bbf33f27035ec431d1b02a629f2 /sys
parenta670ea3f84e8d5f99e6cf66da2af00dd89852b93 (diff)
Use ether_ioctl().
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/vax/if/if_de.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c
index df1cbec483c..17915f86d85 100644
--- a/sys/arch/vax/if/if_de.c
+++ b/sys/arch/vax/if/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.21 2008/10/09 00:17:54 brad Exp $ */
+/* $OpenBSD: if_de.c,v 1.22 2008/10/09 00:43:48 brad Exp $ */
/* $NetBSD: if_de.c,v 1.27 1997/04/19 15:02:29 ragge Exp $ */
/*
@@ -607,8 +607,9 @@ deioctl(ifp, cmd, data)
break;
default:
- error = EINVAL;
+ error = ether_ioctl(ifp, &ds->ds_ac, cmd, data);
}
+
splx(s);
return (error);
}