diff options
Diffstat (limited to 'src/cmd/dist/plan9.c')
-rw-r--r-- | src/cmd/dist/plan9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/dist/plan9.c b/src/cmd/dist/plan9.c index 8a7c0ab1c..8d492ebc6 100644 --- a/src/cmd/dist/plan9.c +++ b/src/cmd/dist/plan9.c @@ -578,7 +578,7 @@ hassuffix(char *p, char *suffix) return np >= ns && strcmp(p+np-ns, suffix) == 0; } -// hasprefix reports whether p begins wtih prefix. +// hasprefix reports whether p begins with prefix. bool hasprefix(char *p, char *prefix) { @@ -736,7 +736,7 @@ xstrrchr(char *p, int c) return strrchr(p, c); } -// xsamefile returns whether f1 and f2 are the same file (or dir) +// xsamefile reports whether f1 and f2 are the same file (or dir) int xsamefile(char *f1, char *f2) { |