From cdb793589c05cf8601daa6f5ace1aa607468b2d7 Mon Sep 17 00:00:00 2001 From: Steven Presti Date: Fri, 13 Mar 2026 13:44:10 -0400 Subject: [PATCH] internal/exec/stages/files/units: fix formating error cought downstream The systemdVersion variable is an int and should use %d format specifier, not %q (which is for strings). --- internal/exec/stages/files/units.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/exec/stages/files/units.go b/internal/exec/stages/files/units.go index d690f0547..1c427f6b9 100644 --- a/internal/exec/stages/files/units.go +++ b/internal/exec/stages/files/units.go @@ -45,7 +45,7 @@ func (s *stage) warnOnOldSystemdVersion() error { return err } if systemdVersion < 240 { - s.Warning("The version of systemd (%q) is less than 240. Enabling/disabling instantiated units may not work. See https://github.com/coreos/ignition/issues/586 for more information.", systemdVersion) + s.Warning("The version of systemd (%d) is less than 240. Enabling/disabling instantiated units may not work. See https://github.com/coreos/ignition/issues/586 for more information.", systemdVersion) } return nil }