Skip to content

Commit

Permalink
Minor fix to configure on s390x
Browse files Browse the repository at this point in the history
configure on s390x has a key check fail with an error about
a variable being used uninitialized. So let's initialize it.

Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
  • Loading branch information
rincebrain committed May 26, 2021
1 parent c71a2bb commit 69d1700
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/kernel-bdi.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_BDI], [
], [
char *name = "bdi";
atomic_long_t zfs_bdi_seq;
int error __attribute__((unused)) =
int error __attribute__((unused));
atomic_long_set(&zfs_bdi_seq, 0);
error =
super_setup_bdi_name(&sb, "%.28s-%ld", name,
atomic_long_inc_return(&zfs_bdi_seq));
])
Expand Down

0 comments on commit 69d1700

Please sign in to comment.