aboutsummaryrefslogtreecommitdiff
path: root/pam/login.go
diff options
context:
space:
mode:
authorebiggers <ebiggers@google.com>2019-09-08 19:46:59 -0700
committerJoseph Richey <joerichey@google.com>2019-09-08 19:46:59 -0700
commit6445dad7d66fa6a1867090fcd9602c98863649f6 (patch)
treec0e5209f018a50ee8b0a1277cc7b06266eff18c1 /pam/login.go
parent28b29d1c97ffd97671186b5e1fae37b64424f9ee (diff)
Fix various typos and grammatical errors (#141)
These were found by a combination of manual review and a custom script that checks for common errors. Also removed an outdated sentence from the comment for setupBefore().
Diffstat (limited to 'pam/login.go')
-rw-r--r--pam/login.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pam/login.go b/pam/login.go
index 346edd4..527b10d 100644
--- a/pam/login.go
+++ b/pam/login.go
@@ -48,9 +48,9 @@ var (
tokenToCheck *crypto.Key
)
-// userInput is run when the the callback needs some input from the user. We
-// prompt the user for information and return their answer. A return value of
-// nil indicates an error occurred.
+// userInput is run when the callback needs some input from the user. We prompt
+// the user for information and return their answer. A return value of nil
+// indicates an error occurred.
//export userInput
func userInput(prompt *C.char) *C.char {
fmt.Print(C.GoString(prompt))