diff options
author | Vee Zhang <veezhang@126.com> | 2020-06-09 08:03:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-06-09 20:45:39 +0000 |
commit | 281f0ed7bf671e6bb65ade4aa3146bc572d64560 (patch) | |
tree | 64f0219ad713f6068fae3aae6b688aa3241dcf89 | |
parent | cd8f8026bb3bf78889e406e3253aad047e49b2e4 (diff) | |
download | go-281f0ed7bf671e6bb65ade4aa3146bc572d64560.tar.gz go-281f0ed7bf671e6bb65ade4aa3146bc572d64560.zip |
internal/poll: correct function name in comment
Change-Id: I3b28a45e942a6d6032855758fcc41e4edd64aa32
GitHub-Last-Rev: 9c994bbee7420861b5dc83e71e50fc43d7f6650b
GitHub-Pull-Request: golang/go#39467
Reviewed-on: https://go-review.googlesource.com/c/go/+/237059
Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | src/internal/poll/fd_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/poll/fd_unix.go b/src/internal/poll/fd_unix.go index 85c79bbebb..4872fa9851 100644 --- a/src/internal/poll/fd_unix.go +++ b/src/internal/poll/fd_unix.go @@ -479,7 +479,7 @@ func DupCloseOnExec(fd int) (int, string, error) { return dupCloseOnExecOld(fd) } -// dupCloseOnExecUnixOld is the traditional way to dup an fd and +// dupCloseOnExecOld is the traditional way to dup an fd and // set its O_CLOEXEC bit, using two system calls. func dupCloseOnExecOld(fd int) (int, string, error) { syscall.ForkLock.RLock() |