1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:54:40 -07:00

runtime: fix typo of MADV_NOHUGEPAGE

Change-Id: I60a1ca606fe7492c05697c4d58afc7f19fcc63fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/203340
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Meng Zhuo 2019-10-25 21:16:24 +08:00 committed by Tobias Klauser
parent 3c25e5ec38
commit 9a701017e6
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ const (
MADV_DONTNEED = C.MADV_DONTNEED
MADV_FREE = C.MADV_FREE
MADV_HUGEPAGE = C.MADV_HUGEPAGE
MADV_NOHUGEPAGE = C.MADV_HNOUGEPAGE
MADV_NOHUGEPAGE = C.MADV_NOHUGEPAGE
SA_RESTART = C.SA_RESTART
SA_ONSTACK = C.SA_ONSTACK

View File

@ -51,7 +51,7 @@ const (
MADV_DONTNEED = C.MADV_DONTNEED
MADV_FREE = C.MADV_FREE
MADV_HUGEPAGE = C.MADV_HUGEPAGE
MADV_NOHUGEPAGE = C.MADV_HNOUGEPAGE
MADV_NOHUGEPAGE = C.MADV_NOHUGEPAGE
SA_RESTART = C.SA_RESTART
SA_ONSTACK = C.SA_ONSTACK