diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-26 14:07:43 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-26 14:07:43 +0000 |
commit | f6b80a49212584c72af18a166002009c5ddd969e (patch) | |
tree | 30a2344f321244fd6995b51de283e5f783911db8 /sys/fs/smbfs/smbfs_vnops.c | |
parent | 2917ba13f7610408de0e1717572792f10b132350 (diff) | |
download | src-f6b80a49212584c72af18a166002009c5ddd969e.tar.gz src-f6b80a49212584c72af18a166002009c5ddd969e.zip |
Return ENOTTY on incorrect ioctls.
Notes
Notes:
svn path=/head/; revision=104004
Diffstat (limited to 'sys/fs/smbfs/smbfs_vnops.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c index 144e3f865443..5128cb83a902 100644 --- a/sys/fs/smbfs/smbfs_vnops.c +++ b/sys/fs/smbfs/smbfs_vnops.c @@ -918,7 +918,7 @@ smbfs_ioctl(ap) struct thread *td; } */ *ap; { - return EINVAL; + return ENOTTY; } static char smbfs_atl[] = "rhsvda"; |