diff --git a/src/runtime/os_tamago_arm.go b/src/runtime/os_tamago_arm.go index 69cd4b6c48ef8..ed874b0ca482c 100644 --- a/src/runtime/os_tamago_arm.go +++ b/src/runtime/os_tamago_arm.go @@ -174,7 +174,7 @@ func walltime1() (sec int64, nsec int32) { // performance nano := nanotime() sec = nano / 1000000000 - nsec = int32(nano - (sec * 1000000000)) + nsec = int32(nano % 1000000000) return }