mirror of https://github.com/i3/i3lock.git
s/arry/array
parent
60776a8219
commit
0777390a65
2
i3lock.c
2
i3lock.c
|
@ -174,7 +174,7 @@ static int conv_callback(int num_msg, const struct pam_message **msg,
|
||||||
if (num_msg == 0)
|
if (num_msg == 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* PAM expects an arry of responses, one for each message */
|
/* 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_message))) == NULL) {
|
||||||
perror("calloc");
|
perror("calloc");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue