mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-17 12:42:47 +08:00
use int instead of long for ioctl. fixes #21
This commit is contained in:
parent
2295714548
commit
45cec2d301
|
@ -36,7 +36,7 @@
|
|||
static
|
||||
int
|
||||
_ioctl(const int fd,
|
||||
const long cmd,
|
||||
const int cmd,
|
||||
void *arg,
|
||||
const unsigned int flags,
|
||||
void *data)
|
||||
|
@ -92,7 +92,7 @@ namespace mergerfs
|
|||
return -EINVAL;
|
||||
|
||||
return _ioctl(fileinfo->fd,
|
||||
(long)cmd,
|
||||
cmd,
|
||||
arg,
|
||||
flags,
|
||||
data);
|
||||
|
|
Loading…
Reference in New Issue
Block a user