diff options
author | wkoszek <wkoszek@FreeBSD.org> | 2006-03-20 16:56:08 +0000 |
---|---|---|
committer | wkoszek <wkoszek@FreeBSD.org> | 2006-03-20 16:56:08 +0000 |
commit | a9e9a228bdc0d14a627a384fe69df7323aa73609 (patch) | |
tree | cab5183c10ea28bd1ecd70e5bbb42aba8d6a1f51 /lib/libpam | |
parent | b2f358b530953a9cb7836a84895bb567e1765dd0 (diff) | |
download | FreeBSD-src-a9e9a228bdc0d14a627a384fe69df7323aa73609.zip FreeBSD-src-a9e9a228bdc0d14a627a384fe69df7323aa73609.tar.gz |
There is no need to pass NULL to the pam_error() as the last argument.
Remove it.
Reviewed by: des
Approved by: cognet (mentor)
Diffstat (limited to 'lib/libpam')
-rw-r--r-- | lib/libpam/modules/pam_nologin/pam_nologin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_nologin/pam_nologin.c b/lib/libpam/modules/pam_nologin/pam_nologin.c index f148be6..2145688 100644 --- a/lib/libpam/modules/pam_nologin/pam_nologin.c +++ b/lib/libpam/modules/pam_nologin/pam_nologin.c @@ -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); } |