diff --git a/runsc/cmd/util/util.go b/runsc/cmd/util/util.go index b5cc6ef2a..140c582c7 100644 --- a/runsc/cmd/util/util.go +++ b/runsc/cmd/util/util.go @@ -48,8 +48,8 @@ func (i *Writer) Write(data []byte) (n int, err error) { // Infof writes message to log and stdout. func Infof(format string, args ...any) { - log.Infof(format, args) - fmt.Printf(format+"\n", args) + log.Infof(format, args...) + fmt.Printf(format+"\n", args...) } // Errorf logs error to containerd log (--log), to stderr, and debug logs. It