aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-06-29 15:23:34 +0200
committerAndreas Schneider <asn@samba.org>2018-08-28 11:14:46 +0200
commit83445b6f5a2e79b44c336af0592f14a1534cbdbd (patch)
treef9425fe98c89205ba56e8c9c9616a304c4af2035
parentcf805f9631847aa8be78e78112f2c1c23b3adbaa (diff)
downloadpam_wrapper-83445b6f5a2e79b44c336af0592f14a1534cbdbd.tar.gz
pam_wrapper-83445b6f5a2e79b44c336af0592f14a1534cbdbd.tar.xz
pam_wrapper-83445b6f5a2e79b44c336af0592f14a1534cbdbd.zip
pwrap: Improve error message
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r--src/pam_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam_wrapper.c b/src/pam_wrapper.c
index 1a2562c..230a45d 100644
--- a/src/pam_wrapper.c
+++ b/src/pam_wrapper.c
@@ -943,7 +943,7 @@ static void pwrap_init(void)
rc = mkdir(libpam_path, 0755);
if (rc != 0) {
PWRAP_LOG(PWRAP_LOG_ERROR,
- "Failed to create pam_wrapper config dir: %s - %s",
+ "Failed to create path for libpam: %s - %s",
tmp_config_dir, strerror(errno));
p_rmdirs(pwrap.config_dir);
exit(1);