Skip to content

Commit

Permalink
Merge pull request #18 from dim13/master
Browse files Browse the repository at this point in the history
Fix log.Fatal call has possible Printf formatting directive %s
  • Loading branch information
jezek authored Nov 30, 2023
2 parents a57abb5 + 1a7c3c7 commit 173fab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xgbgen/xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (imports XMLImports) Eval() {
imp.xml = &XML{}
err = xml.Unmarshal(xmlBytes, imp.xml)
if err != nil {
log.Fatal("Could not parse X protocol description for import "+
log.Fatalf("Could not parse X protocol description for import "+
"'%s' because: %s", imp.Name, err)
}

Expand Down

0 comments on commit 173fab5

Please sign in to comment.