mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Fix minor typos and formatting directives
This small patch fixes a typo in a comment, and a missing formatting directive; both were caught by static analysis tools (misspell and go vet).
This commit is contained in:
@@ -151,7 +151,7 @@ func main() {
|
||||
|
||||
keyOut, err := os.OpenFile("privkey.pem", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600)
|
||||
if err != nil {
|
||||
log.Fatalf("failed to open privkey.pem for writing:", err)
|
||||
log.Fatalf("failed to open privkey.pem for writing: %s", err)
|
||||
return
|
||||
}
|
||||
pem.Encode(keyOut, pemBlockForKey(priv))
|
||||
|
||||
Reference in New Issue
Block a user