From: Yu Watanabe Date: Sat, 27 Apr 2024 08:50:49 +0000 (+0900) Subject: logs-show: add missing strempty() X-Git-Tag: v256-rc2~50^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=131701d10a14e558e0045c9aab16e984927d6813;p=thirdparty%2Fsystemd.git logs-show: add missing strempty() Follow-up for 8e976dc9209853d5d4d2db3016289f2a5ab99fd9. --- 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)