devmapper: remove newline string

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Upstream-commit: 2b51d1a167055834df331fb23c6cd373ebc06211
Component: engine
This commit is contained in:
Vincent Batts
2015-01-12 13:40:00 -05:00
parent 7bde3c37f9
commit 67a17d26c7

View File

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