From 5dc853110f522085183caa7aabcd0a28316b2bc3 Mon Sep 17 00:00:00 2001 From: Steve Phillips Date: Fri, 4 Oct 2013 18:44:40 -0700 Subject: [PATCH] Added missing var 'which' used in a fmt.Errorf Change-Id: I0b9a7c6a0c7e523a75f3e5beebbd860e0092a81f --- cmd/camtool/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }