summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG1
-rw-r--r--modules/pam_mkhomedir/pam_mkhomedir.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 8a7d5f87..b40e78f9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -88,6 +88,7 @@ BerliOS Bugs are marked with (BerliOS #XXXX).
* Fix all occurrence of dereferencing type-punned pointer will break
strict-aliasing rules warnings (kukuk)
* pam_limits: Support new limits in linux 2.6.12 (t8m)
+* pam_mkhomedir: change mode datatype (toady)
0.79: Thu Mar 31 16:48:45 CEST 2005
* pam_tally: added audit option (toady)
diff --git a/modules/pam_mkhomedir/pam_mkhomedir.c b/modules/pam_mkhomedir/pam_mkhomedir.c
index fa3e5a94..cb681b90 100644
--- a/modules/pam_mkhomedir/pam_mkhomedir.c
+++ b/modules/pam_mkhomedir/pam_mkhomedir.c
@@ -180,7 +180,7 @@ make_remark (pam_handle_t *pamh, int ctrl, const char *remark)
}
static int
-rec_mkdir (const char *dir, int mode)
+rec_mkdir (const char *dir, mode_t mode)
{
char *cp;
char *parent = strdup (dir);