0
0
Fork 0

fix improper call to fmt.Errorf instead of Printf

This commit is contained in:
Marty Schoch 2015-04-07 11:24:01 -04:00
parent dd921d31e3
commit de2e3f4d72
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func main() {
suffix := line[lastSpace+1:]
count, err := strconv.Atoi(suffix)
if err != nil {
fmt.Errorf("error parsing count: %v", err)
fmt.Printf("error parsing count: %v", err)
continue
}
existingCount, exists := blocks[prefix]