summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpod/container_attach.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_attach.go b/libpod/container_attach.go
index 46b306133..86bf7ee14 100644
--- a/libpod/container_attach.go
+++ b/libpod/container_attach.go
@@ -59,7 +59,7 @@ func (c *Container) attachContainerSocket(resize <-chan remotecommand.TerminalSi
controlPath := filepath.Join(c.bundlePath(), "ctl")
controlFile, err := os.OpenFile(controlPath, unix.O_WRONLY, 0)
if err != nil {
- return errors.Wrapf(err, "failed to open container ctl file: %v")
+ return errors.Wrapf(err, "failed to open container ctl file")
}
defer controlFile.Close()