Print a criu version in a error message

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin 2017-01-11 06:01:27 +03:00
parent efb2bc3fb0
commit d307e85dbb
1 changed files with 1 additions and 1 deletions

View File

@ -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