mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
There is no need to pass NULL to the pam_error() as the last argument.
Remove it. Reviewed by: des Approved by: cognet (mentor)
This commit is contained in:
parent
84044ca360
commit
2ecd560bcc
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused,
|
|||
if (mtmp != NULL) {
|
||||
read(fd, mtmp, st.st_size);
|
||||
mtmp[st.st_size] = '\0';
|
||||
pam_error(pamh, "%s", mtmp, NULL);
|
||||
pam_error(pamh, "%s", mtmp);
|
||||
free(mtmp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue