diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-11-11 15:05:19 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-11-13 13:24:08 +0000 |
commit | c6ca9d9decb0f6d20243c617c4c9860d1f455810 (patch) | |
tree | f978c47593cfb22939ea0568bb9414d5466a830b /libpam/pam_password.c | |
parent | f171d126299d70df6ce6134c4d3928f21316f99b (diff) | |
download | pam-c6ca9d9decb0f6d20243c617c4c9860d1f455810.tar.gz pam-c6ca9d9decb0f6d20243c617c4c9860d1f455810.tar.bz2 pam-c6ca9d9decb0f6d20243c617c4c9860d1f455810.zip |
libpam: fix superfluous argument to debug output
The value returned by the preceeding _pam_dispatch has been limited to
PAM_INCOMPLETE by the point this debug output is generated. Thus there
is no point in repeating it in the message - in fact it was not even
part of the format string before, thus adding it would make no sense.
On the other hand, if there is no place to print the (known) value of
retval here, there's also no point in providing it to the debug output
function either. Thus let's drop it.
Signed-off-by: Benny Baumann <BenBE@geshi.org>
Diffstat (limited to 'libpam/pam_password.c')
-rw-r--r-- | libpam/pam_password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpam/pam_password.c b/libpam/pam_password.c index d9fdc290..663d4765 100644 --- a/libpam/pam_password.c +++ b/libpam/pam_password.c @@ -54,7 +54,7 @@ int pam_chauthtok(pam_handle_t *pamh, int flags) _pam_await_timer(pamh, retval); /* if unsuccessful then wait now */ D(("pam_chauthtok exit %d - %d", retval, pamh->former.choice)); } else { - D(("will resume when ready", retval)); + D(("will resume when ready")); } return retval; |