Skip to content

Commit

Permalink
cmd/objdump: Fix error logging
Browse files Browse the repository at this point in the history
Change-Id: I6b1b4d3e8c039ba3198cb4b9765de75859ea8c32
Reviewed-on: https://go-review.googlesource.com/1214
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
randall77 committed Dec 9, 2014
1 parent 7796821 commit ea51f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/objdump/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func main() {

dis, err := f.Disasm()
if err != nil {
log.Fatal("disassemble %s: %v", flag.Arg(0), err)
log.Fatalf("disassemble %s: %v", flag.Arg(0), err)
}

switch flag.NArg() {
Expand Down

0 comments on commit ea51f2d

Please sign in to comment.