Browse Source

use int instead of long for ioctl. fixes #21

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

4
src/ioctl.cpp

@ -36,7 +36,7 @@
static static
int int
_ioctl(const int fd, _ioctl(const int fd,
const long cmd,
const int cmd,
void *arg, void *arg,
const unsigned int flags, const unsigned int flags,
void *data) void *data)
@ -92,7 +92,7 @@ namespace mergerfs
return -EINVAL; return -EINVAL;
return _ioctl(fileinfo->fd, return _ioctl(fileinfo->fd,
(long)cmd,
cmd,
arg, arg,
flags, flags,
data); data);

Loading…
Cancel
Save