Return ENOTTY on unrecognized ioctls.
This commit is contained in:
parent
f6b80a4921
commit
1d02d910c1
@ -89,7 +89,7 @@ nwfs_ioctl(ap)
|
||||
*(int*)data = nmp->name_space;
|
||||
break;
|
||||
default:
|
||||
error = EINVAL;
|
||||
error = ENOTTY;
|
||||
}
|
||||
return (error);
|
||||
}
|
||||
|
@ -359,7 +359,7 @@ static int
|
||||
udf_ioctl(struct vop_ioctl_args *a)
|
||||
{
|
||||
printf("%s called\n", __FUNCTION__);
|
||||
return (EOPNOTSUPP);
|
||||
return (ENOTTY);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user