summaryrefslogtreecommitdiff
path: root/block/cmd-filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/cmd-filter.c')
-rw-r--r--block/cmd-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cmd-filter.c b/block/cmd-filter.c
index e669aed4c6bc..504b275e1b90 100644
--- a/block/cmd-filter.c
+++ b/block/cmd-filter.c
@@ -27,7 +27,7 @@
#include <linux/cdrom.h>
int blk_verify_command(struct blk_cmd_filter *filter,
- unsigned char *cmd, int has_write_perm)
+ unsigned char *cmd, fmode_t has_write_perm)
{
/* root can do any command. */
if (capable(CAP_SYS_RAWIO))