Browse code

devmapper: remove newline string

Signed-off-by: Vincent Batts <vbatts@redhat.com>

Vincent Batts authored on 2015/01/13 03:40:00
Showing 1 changed files
... ...
@@ -1424,7 +1424,7 @@ func (devices *DeviceSet) UnmountDevice(hash string) error {
1424 1424
 	defer devices.Unlock()
1425 1425
 
1426 1426
 	if info.mountCount == 0 {
1427
-		return fmt.Errorf("UnmountDevice: device not-mounted id %s\n", hash)
1427
+		return fmt.Errorf("UnmountDevice: device not-mounted id %s", hash)
1428 1428
 	}
1429 1429
 
1430 1430
 	info.mountCount--