f for format

This commit is contained in:
Ted Unangst 2019-10-06 14:57:06 -04:00
parent 7884593827
commit 271e7d98ce
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ func upgradedb() {
var name, wherefore string var name, wherefore string
err = rows.Scan(&userid, &name, &wherefore) err = rows.Scan(&userid, &name, &wherefore)
if err != nil { if err != nil {
log.Fatal("error scanning zonker: %s", err) log.Fatalf("error scanning zonker: %s", err)
} }
f := new(Filter) f := new(Filter)
switch wherefore { switch wherefore {