From f983b0846e97fa33fb09bd768f1e8c2146a49ac4 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 4 Oct 2013 00:37:15 -0500 Subject: [PATCH] Add missing format specific in addrmanager. Found by go vet. --- addrmanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addrmanager.go b/addrmanager.go index 35b86514..8f078780 100644 --- a/addrmanager.go +++ b/addrmanager.go @@ -507,7 +507,7 @@ func (a *AddrManager) deserialisePeers(filePath string) error { } r, err := os.Open(filePath) if err != nil { - return fmt.Errorf("%s error opening file: ", filePath, err) + return fmt.Errorf("%s error opening file: %v", filePath, err) } defer r.Close()