Skip to content

Commit

Permalink
Fixed defining the request argument of ioctl()
Browse files Browse the repository at this point in the history
An occurrence of changing the request from int to unsigned long was
missing.
  • Loading branch information
jpandre committed Mar 8, 2020
1 parent 3f65ccd commit 4163390
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libntfs-3g/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ static int fstrim(ntfs_volume *vol, void *data, u64 *trimmed)

#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;
Expand Down

0 comments on commit 4163390

Please sign in to comment.