aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mem_bsd.go
diff options
context:
space:
mode:
authorLeon Klingele <git@leonklingele.de>2019-02-22 15:53:52 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2019-02-26 23:02:05 +0000
commitd090429ea9af7cc2958fd95460196b02212c2b62 (patch)
tree7012d24ab7187e9e629288a21096da3ab07cfeac /src/runtime/mem_bsd.go
parent337662f7caef76abd0122edffdc1f7f8102f19f8 (diff)
downloadgo-d090429ea9af7cc2958fd95460196b02212c2b62.tar.gz
go-d090429ea9af7cc2958fd95460196b02212c2b62.zip
all: fix typos as reported by 'misspell'
Change-Id: I904b8655f21743189814bccf24073b6fbb9fc56d GitHub-Last-Rev: b032c14394c949f9ad7b18d019a3979d38d4e1fb GitHub-Pull-Request: golang/go#29997 Reviewed-on: https://go-review.googlesource.com/c/160421 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/mem_bsd.go')
-rw-r--r--src/runtime/mem_bsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mem_bsd.go b/src/runtime/mem_bsd.go
index 84238d7279..796bb44223 100644
--- a/src/runtime/mem_bsd.go
+++ b/src/runtime/mem_bsd.go
@@ -45,7 +45,7 @@ func sysReserve(v unsafe.Pointer, n uintptr) unsafe.Pointer {
flags := int32(_MAP_ANON | _MAP_PRIVATE)
if raceenabled && GOOS == "darwin" {
// Currently the race detector expects memory to live within a certain
- // range, and on Darwin 10.10 mmap is prone to ignoring hints, moreso
+ // range, and on Darwin 10.10 mmap is prone to ignoring hints, more so
// than later versions and other BSDs (#26475). So, even though it's
// potentially dangerous to MAP_FIXED, we do it in the race detection
// case because it'll help maintain the race detector's invariants.