Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and
the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -320,7 +320,7 @@ static status_t query_rewind(struct file_descriptor* descriptor);
|
||||
static void query_free_fd(struct file_descriptor* descriptor);
|
||||
static status_t query_close(struct file_descriptor* descriptor);
|
||||
|
||||
static status_t common_ioctl(struct file_descriptor* descriptor, ulong op,
|
||||
static status_t common_ioctl(struct file_descriptor* descriptor, uint32 op,
|
||||
void* buffer, size_t length);
|
||||
static status_t common_read_stat(struct file_descriptor* descriptor,
|
||||
struct stat* statData);
|
||||
@@ -5827,7 +5827,7 @@ dir_remove(int fd, char* path, bool kernel)
|
||||
|
||||
|
||||
static status_t
|
||||
common_ioctl(struct file_descriptor* descriptor, ulong op, void* buffer,
|
||||
common_ioctl(struct file_descriptor* descriptor, uint32 op, void* buffer,
|
||||
size_t length)
|
||||
{
|
||||
struct vnode* vnode = descriptor->u.vnode;
|
||||
|
||||
Reference in New Issue
Block a user