From d307e85dbbd603c96801cde8f3bfbfdc5ecc0f52 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 11 Jan 2017 06:01:27 +0300 Subject: [PATCH] Print a criu version in a error message Signed-off-by: Andrei Vagin --- libcontainer/container_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go index aeaf583c..73fa92b1 100644 --- a/libcontainer/container_linux.go +++ b/libcontainer/container_linux.go @@ -637,7 +637,7 @@ func (c *linuxContainer) checkCriuVersion(minVersion string) error { c.criuVersion = x*10000 + y*100 + z if c.criuVersion < versionReq { - return fmt.Errorf("CRIU version must be %s or higher", minVersion) + return fmt.Errorf("CRIU version %d must be %d or higher", c.criuVersion, versionReq) } return nil