diff --git a/cmd/camtool/sync.go b/cmd/camtool/sync.go index 8547197e9..4a1f45792 100644 --- a/cmd/camtool/sync.go +++ b/cmd/camtool/sync.go @@ -155,7 +155,7 @@ func (c *syncCmd) storageFromParam(which storageType, val string) (blobserver.St if looksLikePath(val) { disk, err := localdisk.New(val) if err != nil { - return nil, fmt.Errorf("Interpreted --%v=%q as a local disk path, but got error: %v", val, err) + return nil, fmt.Errorf("Interpreted --%v=%q as a local disk path, but got error: %v", which, val, err) } return disk, nil }