aboutsummaryrefslogtreecommitdiff
path: root/pam/pam.go
diff options
context:
space:
mode:
authorJoe Richey joerichey@google.com <joerichey@google.com>2017-07-17 23:16:00 -0700
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-07-17 23:16:00 -0700
commit744dbff34969ef612b219cde5b8f116f3ae3d26f (patch)
tree924ecc4db650e2161a47916ddff5d455315251a1 /pam/pam.go
parent26b8a7195a3fa09ea1e6a8187e5785dd6d5245cd (diff)
Small fixes so "make lint" doesn't complain.
Diffstat (limited to 'pam/pam.go')
-rw-r--r--pam/pam.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/pam/pam.go b/pam/pam.go
index 43bfd2e..e928883 100644
--- a/pam/pam.go
+++ b/pam/pam.go
@@ -179,7 +179,11 @@ func Start(service, username string) (*Transaction, error) {
handle: nil,
status: C.PAM_SUCCESS,
}
- t.status = C.pam_start(cService, cUsername, &C.conv, &t.handle)
+ t.status = C.pam_start(
+ cService,
+ cUsername,
+ C.goConv,
+ &t.handle)
return t, (*Handle)(t).err()
}