Fix: log correctly path

This commit is contained in:
gVisor bot 2019-06-27 22:56:24 +08:00
parent 003cef02a2
commit 7eadec6eef

View file

@ -116,7 +116,7 @@ func readConfig(path string) (*rawConfig, error) {
}
if len(data) == 0 {
return nil, fmt.Errorf("Configuration file %s is empty", C.Path.Config())
return nil, fmt.Errorf("Configuration file %s is empty", path)
}
// config with some default value