changed ioctl hook return code when the opcode isn't supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40784 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -722,7 +722,7 @@ bfs_ioctl(fs_volume* _volume, fs_vnode* _node, void* _cookie, uint32 cmd,
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return B_BAD_VALUE;
|
||||
return B_DEV_INVALID_IOCTL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user