mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: various typos
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5820045
This commit is contained in:
parent
fef92cbbac
commit
d724631a53
7 changed files with 9 additions and 9 deletions
|
|
@ -627,7 +627,7 @@ func ptracePeek(req int, pid int, addr uintptr, out []byte) (count int, err erro
|
|||
|
||||
// Remainder.
|
||||
for len(out) > 0 {
|
||||
// We use an internal buffer to gaurantee alignment.
|
||||
// We use an internal buffer to guarantee alignment.
|
||||
// It's not documented if this is necessary, but we're paranoid.
|
||||
err = ptrace(req, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue