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/arm | |
parent | ac485638634400d44fe9adbec493296c38ffcd74 (diff) |
If an ioctl(2) request isn't implemented we should return ENOTTY.
ok deraadt@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/mem.c b/sys/arch/arm/arm/mem.c index f0809db3634..85c0f69d5f1 100644 --- a/sys/arch/arm/arm/mem.c +++ b/sys/arch/arm/arm/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.23 2021/03/25 04:12:00 jsg Exp $ */ +/* $OpenBSD: mem.c,v 1.24 2024/06/23 22:08:37 kettenis Exp $ */ /* $NetBSD: mem.c,v 1.11 2003/10/16 12:02:58 jdolecek Exp $ */ /* @@ -251,5 +251,5 @@ mmioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p) return 0; } - return (EOPNOTSUPP); + return (ENOTTY); } |