From 2b51d1a167055834df331fb23c6cd373ebc06211 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Mon, 12 Jan 2015 13:40:00 -0500 Subject: [PATCH] devmapper: remove newline string Signed-off-by: Vincent Batts --- daemon/graphdriver/devmapper/deviceset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/graphdriver/devmapper/deviceset.go b/daemon/graphdriver/devmapper/deviceset.go index 078e31a1ec..e0a5a952bb 100644 --- a/daemon/graphdriver/devmapper/deviceset.go +++ b/daemon/graphdriver/devmapper/deviceset.go @@ -1424,7 +1424,7 @@ func (devices *DeviceSet) UnmountDevice(hash string) error { defer devices.Unlock() if info.mountCount == 0 { - return fmt.Errorf("UnmountDevice: device not-mounted id %s\n", hash) + return fmt.Errorf("UnmountDevice: device not-mounted id %s", hash) } info.mountCount--