diff --git a/eBook/12.2.md b/eBook/12.2.md index a095e14..28a0a0f 100644 --- a/eBook/12.2.md +++ b/eBook/12.2.md @@ -21,7 +21,7 @@ func main() { if inputError != nil { fmt.Printf("An error occurred on opening the inputfile\n" + "Does the file exist?\n" + - "Have you got acces to it?\n") + "Have you got access to it?\n") return // exit the function on error } defer inputFile.Close() diff --git a/eBook/examples/chapter_12/fileinput.go b/eBook/examples/chapter_12/fileinput.go index 511b536..8c401e3 100644 --- a/eBook/examples/chapter_12/fileinput.go +++ b/eBook/examples/chapter_12/fileinput.go @@ -17,7 +17,7 @@ func main() { if inputError != nil { fmt.Printf("An error occurred on opening the inputfile\n" + "Does the file exist?\n" + - "Have you got acces to it?\n") + "Have you got access to it?\n") return // exit the function on error } defer inputFile.Close()