From 8bcbc6711ffa253968c30ebf1366e79dfd08e205 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Mon, 9 Jan 2017 16:58:09 +0100 Subject: [PATCH] devmapper: fixup error formatting Signed-off-by: Antonio Murdaca --- daemon/graphdriver/devmapper/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/graphdriver/devmapper/driver.go b/daemon/graphdriver/devmapper/driver.go index 43c03eb3eb..d1739c6a3a 100644 --- a/daemon/graphdriver/devmapper/driver.go +++ b/daemon/graphdriver/devmapper/driver.go @@ -151,7 +151,7 @@ func (d *Driver) Remove(id string) error { // This assumes the device has been properly Get/Put:ed and thus is unmounted if err := d.DeviceSet.DeleteDevice(id, false); err != nil { - return fmt.Errorf("failed to remove device %v:%v", id, err) + return fmt.Errorf("failed to remove device %s: %v", id, err) } mp := path.Join(d.home, "mnt", id)