Fixed defining the request argument of ioctl()

An occurrence of changing the request from int to unsigned long was
missing.
pull/2/head
Jean-Pierre André 2020-03-08 10:34:17 +01:00
parent 3f65ccd949
commit 4163390f2b
1 changed files with 2 additions and 1 deletions

View File

@ -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;