]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: Drop SD_VARLINK_NULLABLE from ListBootEntries IDL 40546/head
authorDaan De Meyer <daan@amutable.com>
Sun, 8 Feb 2026 21:16:52 +0000 (22:16 +0100)
committerDaan De Meyer <daan@amutable.com>
Wed, 11 Feb 2026 13:25:36 +0000 (14:25 +0100)
9e10f3a7e800ad67be8d8b14ae158a27438814f0 changed the implementation
to report an error instead of an empty object but the IDL was not
adjusted. Let's fix that.

src/shared/varlink-io.systemd.BootControl.c

index c369b134efe34e746cdd00ba30d6c0abcc73554c..70203300ffe5e2dec2ba2f90d4dac29d9d94f6c9 100644 (file)
@@ -87,7 +87,7 @@ static SD_VARLINK_DEFINE_METHOD_FULL(
                 ListBootEntries,
                 SD_VARLINK_REQUIRES_MORE,
                 SD_VARLINK_FIELD_COMMENT("A boot menu entry structure"),
-                SD_VARLINK_DEFINE_OUTPUT_BY_TYPE(entry, BootEntry, SD_VARLINK_NULLABLE));
+                SD_VARLINK_DEFINE_OUTPUT_BY_TYPE(entry, BootEntry, 0));
 
 static SD_VARLINK_DEFINE_METHOD(
                 SetRebootToFirmware,