diff options
author | 2004-02-11 06:42:39 +0000 | |
---|---|---|
committer | 2004-02-11 06:42:39 +0000 | |
commit | a87f4c418cde5ed1bbca7a95031609b517ec917b (patch) | |
tree | 79eee8928f8d4fc8ee9fddc220a3876c2f0d50ca | |
parent | Deal with pfctl always needing root by adding ${SUDO} where it's needed. (diff) | |
download | wireguard-openbsd-a87f4c418cde5ed1bbca7a95031609b517ec917b.tar.xz wireguard-openbsd-a87f4c418cde5ed1bbca7a95031609b517ec917b.zip |
Return ENOTTY on unhandled ioctls; ok drahn@
-rw-r--r-- | sys/arch/arm/footbridge/footbridge_com.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/arm/footbridge/footbridge_com.c b/sys/arch/arm/footbridge/footbridge_com.c index 7c930907148..d4c1ceadf96 100644 --- a/sys/arch/arm/footbridge/footbridge_com.c +++ b/sys/arch/arm/footbridge/footbridge_com.c @@ -1,4 +1,4 @@ -/* $OpenBSD: footbridge_com.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */ +/* $OpenBSD: footbridge_com.c,v 1.2 2004/02/11 06:42:39 miod Exp $ */ /* $NetBSD: footbridge_com.c,v 1.13 2003/03/23 14:12:25 chris Exp $ */ /*- @@ -381,6 +381,9 @@ fcomioctl(dev, cmd, data, flag, p) return (error); sc->sc_swflags = *(int *)data; break; + + default: + return ENOTTY; } return 0; |