diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2024-06-23 22:08:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2024-06-23 22:08:38 +0000 |
commit | d6bb627c7b9257f11ba10c398209f1400a1d09d0 (patch) | |
tree | ac0694586de5b9274f978de4b58a3842ae6b908f /sys/arch/alpha | |
parent | ac485638634400d44fe9adbec493296c38ffcd74 (diff) |
If an ioctl(2) request isn't implemented we should return ENOTTY.
ok deraadt@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/mem.c b/sys/arch/alpha/alpha/mem.c index 290ff9cccd8..42e9f48d50e 100644 --- a/sys/arch/alpha/alpha/mem.c +++ b/sys/arch/alpha/alpha/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.34 2018/02/19 08:59:52 mpi Exp $ */ +/* $OpenBSD: mem.c,v 1.35 2024/06/23 22:08:37 kettenis Exp $ */ /* $NetBSD: mem.c,v 1.26 2000/03/29 03:48:20 simonb Exp $ */ /* @@ -250,5 +250,5 @@ mmioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p) return 0; } - return (EOPNOTSUPP); + return (ENOTTY); } |