devmapper: remove newline string
Signed-off-by: Vincent Batts <vbatts@redhat.com> Upstream-commit: 2b51d1a167055834df331fb23c6cd373ebc06211 Component: engine
This commit is contained in:
@ -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--
|
||||
|
||||
Reference in New Issue
Block a user