From 131701d10a14e558e0045c9aab16e984927d6813 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 27 Apr 2024 17:50:49 +0900 Subject: [PATCH] logs-show: add missing strempty() Follow-up for 8e976dc9209853d5d4d2db3016289f2a5ab99fd9. --- src/shared/logs-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index f7cededf6f1..5bce1c34fb4 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -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) -- 2.47.3