aboutsummaryrefslogtreecommitdiff
path: root/libpam/pam_handlers.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2023-11-11 18:19:42 +0100
committerDmitry V. Levin <github.dl@altlinux.org>2023-11-12 19:20:20 +0000
commit3f6189918f088e353119944e24fe1f725ee502a7 (patch)
tree0fe4850cd67b0296399cc5d3e2fdde341bdf78f2 /libpam/pam_handlers.c
parentd6c2dfcc4b217b06e1328152a6bb3013cffd7b58 (diff)
downloadpam-3f6189918f088e353119944e24fe1f725ee502a7.tar.gz
pam-3f6189918f088e353119944e24fe1f725ee502a7.tar.bz2
pam-3f6189918f088e353119944e24fe1f725ee502a7.zip
libpam: improve debug message
Reading "other" is not meant as a file, which the debug message might look like. Copy the same debug message used when opening a module. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'libpam/pam_handlers.c')
-rw-r--r--libpam/pam_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpam/pam_handlers.c b/libpam/pam_handlers.c
index 248426a0..6c91c193 100644
--- a/libpam/pam_handlers.c
+++ b/libpam/pam_handlers.c
@@ -519,7 +519,7 @@ int _pam_init_handlers(pam_handle_t *pamh)
_pam_drop(path);
fclose(f);
} else {
- D(("unable to open %s", PAM_DEFAULT_SERVICE));
+ D(("unable to open configuration for %s", PAM_DEFAULT_SERVICE));
pam_syslog(pamh, LOG_ERR,
"_pam_init_handlers: no default config %s",
PAM_DEFAULT_SERVICE);