Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Antonio Murdaca authored on 2017/01/10 00:58:09... | ... |
@@ -151,7 +151,7 @@ func (d *Driver) Remove(id string) error { |
151 | 151 |
|
152 | 152 |
// This assumes the device has been properly Get/Put:ed and thus is unmounted |
153 | 153 |
if err := d.DeviceSet.DeleteDevice(id, false); err != nil { |
154 |
- return fmt.Errorf("failed to remove device %v:%v", id, err) |
|
154 |
+ return fmt.Errorf("failed to remove device %s: %v", id, err) |
|
155 | 155 |
} |
156 | 156 |
|
157 | 157 |
mp := path.Join(d.home, "mnt", id) |