diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2012-10-15 22:39:49 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-10-15 22:40:29 +0200 |
commit | 2cadf22c67beedcc52b70c76518c91467581ffb8 (patch) | |
tree | 5f9d1731834628e7403ce70fe08c20d44aef77d7 /i3lock.c | |
parent | 603c90e9859f30671841bbc305e53fbb7bf7fee8 (diff) |
s/pam_message/pam_response/ (Thanks Tucos)
The previous code didn’t cause any issues since both types (currently!)
have the same size.
Diffstat (limited to 'i3lock.c')
-rw-r--r-- | i3lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -439,7 +439,7 @@ static int conv_callback(int num_msg, const struct pam_message **msg, return 1; /* PAM expects an array of responses, one for each message */ - if ((*resp = calloc(num_msg, sizeof(struct pam_message))) == NULL) { + if ((*resp = calloc(num_msg, sizeof(struct pam_response))) == NULL) { perror("calloc"); return 1; } |