summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_mkhomedir/pam_mkhomedir.c2
1 files changed, 1 insertions, 1 deletions
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);