summaryrefslogtreecommitdiffstats
path: root/config/kernel-bio-rw-syncio.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-bio-rw-syncio.m4')
-rw-r--r--config/kernel-bio-rw-syncio.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/config/kernel-bio-rw-syncio.m4 b/config/kernel-bio-rw-syncio.m4
index 93a32e659..2c80f5c0e 100644
--- a/config/kernel-bio-rw-syncio.m4
+++ b/config/kernel-bio-rw-syncio.m4
@@ -7,7 +7,8 @@ AC_DEFUN([ZFS_AC_KERNEL_BIO_RW_SYNCIO], [
ZFS_LINUX_TRY_COMPILE([
#include <linux/bio.h>
],[
- int flags = BIO_RW_SYNCIO;
+ int flags;
+ flags = BIO_RW_SYNCIO;
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_BIO_RW_SYNCIO, 1,