Skip to content

Commit e7d7f63

Browse files
cuishuanggopherbot
authored andcommitted
all: fix some comments
Change-Id: I7d5bfd4caac63820b26fc3408118c13e74e6448c Reviewed-on: https://go-review.googlesource.com/c/sys/+/464238 Run-TryBot: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 7a75290 commit e7d7f63

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plan9/mksyscall.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func goBuildTags() string {
5555
return strings.ReplaceAll(*tags, ",", " && ")
5656
}
5757

58-
// plusBuildTags returns build tags in the +build format.
58+
// buildTags returns build tags in the +build format.
5959
func buildTags() string {
6060
return *tags
6161
}

unix/syscall_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ func Lutimes(path string, tv []Timeval) error {
578578
return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW)
579579
}
580580

581-
// emptyIovec reports whether there are no bytes in the slice of Iovec.
581+
// emptyIovecs reports whether there are no bytes in the slice of Iovec.
582582
func emptyIovecs(iov []Iovec) bool {
583583
for i := range iov {
584584
if iov[i].Len > 0 {

unix/timestruct.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package unix
99

1010
import "time"
1111

12-
// TimespecToNSec returns the time stored in ts as nanoseconds.
12+
// TimespecToNsec returns the time stored in ts as nanoseconds.
1313
func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
1414

1515
// NsecToTimespec converts a number of nanoseconds into a Timespec.

0 commit comments

Comments
 (0)