]> Cypherpunks repositories - gostls13.git/commitdiff
os: fix typo in Chmod godoc
authorTobias Klauser <tklauser@distanz.ch>
Mon, 13 May 2019 10:02:43 +0000 (12:02 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 13 May 2019 13:53:07 +0000 (13:53 +0000)
Change-Id: I3e5c20d2ffbbe604e6c8b21e2afa50dd6c9f2b7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/176626
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/file.go

index 0863c70af4d3df6405d8eeaa51d9f71b496ce091..f835537d51aa00271094ea0370a6416c61c1113b 100644 (file)
@@ -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.
 //