summaryrefslogtreecommitdiffstats
path: root/src/test/test-bootspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-bootspec.c')
-rw-r--r--src/test/test-bootspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-bootspec.c b/src/test/test-bootspec.c
index 7ba44744ba..f52b53c5f8 100644
--- a/src/test/test-bootspec.c
+++ b/src/test/test-bootspec.c
@@ -61,7 +61,7 @@ TEST_RET(bootspec_sort) {
};
_cleanup_(rm_rf_physical_and_freep) char *d = NULL;
- _cleanup_(boot_config_free) BootConfig config = {};
+ _cleanup_(boot_config_free) BootConfig config = BOOT_CONFIG_NULL;
assert_se(mkdtemp_malloc("/tmp/bootspec-testXXXXXX", &d) >= 0);