From: Tobias Klauser Date: Mon, 13 May 2019 10:02:43 +0000 (+0200) Subject: os: fix typo in Chmod godoc X-Git-Tag: go1.13beta1~328 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=afd79150d99abe06bd56870f146842f77f279d6d;p=gostls13.git os: fix typo in Chmod godoc Change-Id: I3e5c20d2ffbbe604e6c8b21e2afa50dd6c9f2b7a Reviewed-on: https://go-review.googlesource.com/c/go/+/176626 Run-TryBot: Tobias Klauser Reviewed-by: Brad Fitzpatrick --- diff --git a/src/os/file.go b/src/os/file.go index 0863c70af4..f835537d51 100644 --- a/src/os/file.go +++ b/src/os/file.go @@ -492,7 +492,7 @@ func UserHomeDir() (string, error) { // // On Windows, only the 0200 bit (owner writable) of mode is used; it // controls whether the file's read-only attribute is set or cleared. -// The other bits are currently unused. For compatibilty with Go 1.12 +// The other bits are currently unused. For compatibility with Go 1.12 // and earlier, use a non-zero mode. Use mode 0400 for a read-only // file and 0600 for a readable+writable file. //