Add missing format specific in addrmanager.

Found by go vet.
This commit is contained in:
Dave Collins 2013-10-04 00:37:15 -05:00
parent 47c07ee5e1
commit f983b0846e

View file

@ -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()