Better format several errors

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-09-28 01:08:42 +00:00
parent 0e6e593481
commit 517f697f62
3 changed files with 4 additions and 4 deletions

View File

@@ -155,5 +155,5 @@ func (RealOS) DeviceUUID(device string) (string, error) {
return file.Name(), nil
}
}
return "", fmt.Errorf("device not found")
return "", fmt.Errorf("device %q not found", device)
}