From 4163390f2bcc41307aa583ca533491bfce483951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Sun, 8 Mar 2020 10:34:17 +0100 Subject: [PATCH] Fixed defining the request argument of ioctl() An occurrence of changing the request from int to unsigned long was missing. --- libntfs-3g/ioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libntfs-3g/ioctl.c b/libntfs-3g/ioctl.c index 66cedaf9..b059a53f 100644 --- a/libntfs-3g/ioctl.c +++ b/libntfs-3g/ioctl.c @@ -389,7 +389,8 @@ free_out: #endif /* FITRIM && BLKDISCARD */ -int ntfs_ioctl(ntfs_inode *ni, int cmd, void *arg __attribute__((unused)), +int ntfs_ioctl(ntfs_inode *ni, unsigned long cmd, + void *arg __attribute__((unused)), unsigned int flags __attribute__((unused)), void *data) { int ret = 0;