aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-fmode-t.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-fmode-t.m4')
-rw-r--r--config/kernel-fmode-t.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/kernel-fmode-t.m4 b/config/kernel-fmode-t.m4
index cf25d8127..4a23c391d 100644
--- a/config/kernel-fmode-t.m4
+++ b/config/kernel-fmode-t.m4
@@ -7,7 +7,7 @@ AC_DEFUN([ZFS_AC_KERNEL_TYPE_FMODE_T],
ZFS_LINUX_TRY_COMPILE([
#include <linux/types.h>
],[
- fmode_t *ptr;
+ fmode_t *ptr __attribute__ ((unused));
],[
AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_FMODE_T, 1,