logs-show: add missing strempty()

Follow-up for 8e976dc920.
This commit is contained in:
Yu Watanabe
2024-05-10 09:35:24 +09:00
parent 8ac0810f6c
commit 131701d10a
+1 -1
View File
@@ -1688,7 +1688,7 @@ int add_match_this_boot(sd_journal *j, const char *machine) {
r = id128_get_boot_for_machine(machine, &boot_id);
if (r < 0)
return log_error_errno(r, "Failed to get boot ID%s%s: %m",
isempty(machine) ? "" : " of container ", machine);
isempty(machine) ? "" : " of container ", strempty(machine));
r = add_match_boot_id(j, boot_id);
if (r < 0)