]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/pprof/internal/report: fix typo in recognized output unit
authorIan Lance Taylor <iant@golang.org>
Mon, 9 Feb 2015 16:32:08 +0000 (08:32 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 10 Feb 2015 19:32:59 +0000 (19:32 +0000)
Fixes #9814.

Change-Id: I1be49efae0648038f590eeca1262037bf1af3df5
Reviewed-on: https://go-review.googlesource.com/4240
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/pprof/internal/report/report.go

index e5977fd0349ef9a422d68749539c8f322305a307..586f41d4d6840a411e8c8dabc2836506ea7ef3c8 100644 (file)
@@ -1531,7 +1531,7 @@ func memoryLabel(value int64, fromUnit, toUnit string) (v float64, u string, ok
                output, toUnit = float64(value)/1024, "kB"
        case "mb", "mbyte", "megabyte":
                output, toUnit = float64(value)/(1024*1024), "MB"
-       case "gb", "gbyte", "giggabyte":
+       case "gb", "gbyte", "gigabyte":
                output, toUnit = float64(value)/(1024*1024*1024), "GB"
        }
        return output, toUnit, true