diff --git a/config/kernel-bio-tryget.m4 b/config/kernel-bio-tryget.m4 index fb831ca3b3..49546aba93 100644 --- a/config/kernel-bio-tryget.m4 +++ b/config/kernel-bio-tryget.m4 @@ -11,7 +11,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_BLKG_TRYGET], [ #include #include ],[ - struct blkcg_gq blkg __attribute__ ((unused)); + struct blkcg_gq blkg __attribute__ ((unused)) = {}; bool rc __attribute__ ((unused)); rc = blkg_tryget(&blkg); ], [], [$ZFS_META_LICENSE])