aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/evm/disasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/evm/disasm.go')
-rw-r--r--cmd/evm/disasm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/evm/disasm.go b/cmd/evm/disasm.go
index 4a442cf78..0f3491818 100644
--- a/cmd/evm/disasm.go
+++ b/cmd/evm/disasm.go
@@ -45,6 +45,6 @@ func disasmCmd(ctx *cli.Context) error {
}
code := strings.TrimSpace(string(in[:]))
- fmt.Printf("%v\n", code)
+ fmt.Fprintf(ctx.App.Writer, "%v\n", code)
return asm.PrintDisassembled(code)
}