block: change type of ioctl 3rd argument from long to kernel_ureg_t
* block.c (block_ioctl): Change arg type from long to kernel_ureg_t.
This commit is contained in:
parent
10350d5eb0
commit
c322fba197
4
block.c
4
block.c
@ -143,8 +143,8 @@ print_blkpg_req(struct tcb *tcp, const struct_blkpg_ioctl_arg *blkpg)
|
||||
tprints("}");
|
||||
}
|
||||
|
||||
MPERS_PRINTER_DECL(int, block_ioctl, struct tcb *tcp,
|
||||
const unsigned int code, const long arg)
|
||||
MPERS_PRINTER_DECL(int, block_ioctl, struct tcb *const tcp,
|
||||
const unsigned int code, const kernel_ureg_t arg)
|
||||
{
|
||||
switch (code) {
|
||||
/* take arg as a value, not as a pointer */
|
||||
|
Loading…
Reference in New Issue
Block a user