]> Cypherpunks repositories - gostls13.git/commitdiff
os: fix existential typo
authorAnthony Martin <ality@pbrane.org>
Fri, 17 Feb 2012 20:44:38 +0000 (07:44 +1100)
committerRob Pike <r@golang.org>
Fri, 17 Feb 2012 20:44:38 +0000 (07:44 +1100)
R=golang-dev, r, gri
CC=golang-dev
https://golang.org/cl/5675081

src/pkg/os/error.go

index 5baeba475bb9a019a2a6ef2a3b8804d995ea2ef4..e0b83b5c22cabf46a586d0235fa036f179b17ae9 100644 (file)
@@ -13,7 +13,7 @@ var (
        ErrInvalid    = errors.New("invalid argument")
        ErrPermission = errors.New("permission denied")
        ErrExist      = errors.New("file already exists")
-       ErrNotExist   = errors.New("file does not exit")
+       ErrNotExist   = errors.New("file does not exist")
 )
 
 // PathError records an error and the operation and file path that caused it.