diff --git a/config/kernel-bio.m4 b/config/kernel-bio.m4 index afa1f1cabeb0..534282780d3e 100644 --- a/config/kernel-bio.m4 +++ b/config/kernel-bio.m4 @@ -344,7 +344,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])