diff --git a/cmd/swarm/hash.go b/cmd/swarm/hash.go index fca405ea26..1a2583ac8b 100644 --- a/cmd/swarm/hash.go +++ b/cmd/swarm/hash.go @@ -33,7 +33,7 @@ func hash(ctx *cli.Context) { } f, err := os.Open(args[0]) if err != nil { - utils.Fatalf("Error opening file " + args[1]) + utils.Fatalf("Error opening file " + args[0]) } defer f.Close()