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:
Jérôme Duval
2011-03-02 18:24:19 +00:00
parent 552c44608f
commit f53ec236e2
7 changed files with 7 additions and 7 deletions
@@ -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;
}