1
0
mirror of https://github.com/golang/go synced 2024-11-19 12:14:42 -07:00

runtime: Fix misspell in a code comment.

Change-Id: I5ca3beda2b62ead10065602a45c9d178c5e68c65
This commit is contained in:
Yasuhiro Matsumoto 2018-02-13 18:44:16 +09:00
parent 816154b065
commit d6a6fa3909

View File

@ -25,7 +25,7 @@ func spinUnlock(state *uint32)
//go:nosplit
func lockAndCheck(addr *uint64) {
// ensure 8-byte alignement
// ensure 8-byte alignment
if uintptr(unsafe.Pointer(addr))&7 != 0 {
addr = nil
}