diff options
author | phk <phk@FreeBSD.org> | 2002-09-26 14:08:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-26 14:08:37 +0000 |
commit | bd3b8669b156628d7933508fa0301864f59d0ef0 (patch) | |
tree | a16ea98d04d53efb94fa7286a2ee10466bf302a8 /sys/fs/nwfs | |
parent | f9dee9cb556ea2468d36c7ba81690db4a13578f8 (diff) | |
download | FreeBSD-src-bd3b8669b156628d7933508fa0301864f59d0ef0.zip FreeBSD-src-bd3b8669b156628d7933508fa0301864f59d0ef0.tar.gz |
Return ENOTTY on unrecognized ioctls.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r-- | sys/fs/nwfs/nwfs_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nwfs/nwfs_ioctl.c b/sys/fs/nwfs/nwfs_ioctl.c index fd8b944..32692b4 100644 --- a/sys/fs/nwfs/nwfs_ioctl.c +++ b/sys/fs/nwfs/nwfs_ioctl.c @@ -89,7 +89,7 @@ nwfs_ioctl(ap) *(int*)data = nmp->name_space; break; default: - error = EINVAL; + error = ENOTTY; } return (error); } |