summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_ioctl.c2
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);
}
OpenPOWER on IntegriCloud