summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/nwfs/nwfs_ioctl.c2
-rw-r--r--sys/fs/udf/udf_vnops.c2
2 files changed, 2 insertions, 2 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);
}
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c
index d752789..2f71d86 100644
--- a/sys/fs/udf/udf_vnops.c
+++ b/sys/fs/udf/udf_vnops.c
@@ -359,7 +359,7 @@ static int
udf_ioctl(struct vop_ioctl_args *a)
{
printf("%s called\n", __FUNCTION__);
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
/*
OpenPOWER on IntegriCloud