Browse Source

use int instead of long for ioctl. fixes #21

pull/30/head 1.2.4
Antonio SJ Musumeci 11 years ago
parent
commit
45cec2d301
  1. 4
      src/ioctl.cpp

4
src/ioctl.cpp

@ -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…
Cancel
Save