summaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-05-06 00:11:33 +0800
committerGopher Robot <gobot@golang.org>2023-05-10 12:59:20 +0000
commit57e3189821c6525fc8eecac42c3faad3b5416223 (patch)
tree56e615214191c4a8a17fa4b1ed125f20307599f8 /src/syscall
parentdc0179bfa887aa82ff2cc615d07e52e59e57d204 (diff)
downloadgo-git-57e3189821c6525fc8eecac42c3faad3b5416223.tar.gz
all: fix a lot of comments
Fix comments, including duplicate is, wrong phrases and articles, misspellings, etc. Change-Id: I8bfea53b9b275e649757cc4bee6a8a026ed9c7a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/493035 Reviewed-by: Benny Siegert <bsiegert@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/fs_wasip1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/fs_wasip1.go b/src/syscall/fs_wasip1.go
index ab00e5ba22..fa7c5c8885 100644
--- a/src/syscall/fs_wasip1.go
+++ b/src/syscall/fs_wasip1.go
@@ -390,7 +390,7 @@ func appendCleanPath(buf []byte, path string, lookupParent bool) ([]byte, bool)
// joinPath concatenates dir and file paths, producing a cleaned path where
// "." and ".." have been removed, unless dir is relative and the references
-// to parent directories in file represented a location relatie to a parent
+// to parent directories in file represented a location relative to a parent
// of dir.
//
// This function is used for path resolution of all wasi functions expecting