Merge pull request #30001 from runcom/fix-format

devmapper: fixup error formatting
This commit is contained in:
Tõnis Tiigi 2017-01-09 10:32:35 -08:00 committed by GitHub
commit 45e88e995a

View file

@ -151,7 +151,7 @@ func (d *Driver) Remove(id string) error {
// This assumes the device has been properly Get/Put:ed and thus is unmounted
if err := d.DeviceSet.DeleteDevice(id, false); err != nil {
return fmt.Errorf("failed to remove device %v:%v", id, err)
return fmt.Errorf("failed to remove device %s: %v", id, err)
}
mp := path.Join(d.home, "mnt", id)