contrib/key-expiration: fix invalid Printf format specifier

contrib/key-expiration/main.go:94:4: log.Printf format %s has arg id of wrong type int64
This commit is contained in:
Simon Ser 2023-12-12 09:07:13 +00:00 committed by Drew DeVault
parent dbf0515685
commit e34350b3a2
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func main() {
log.Fatal(err)
}
} else if !found {
log.Printf("Key ID %s: no encryption key, but no expiration date found\n", id)
log.Printf("Key ID %d: no encryption key, but no expiration date found\n", id)
}
}
log.Println("Done.")