aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_group/pam_group.c
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2010-07-29 20:16:39 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:32:38 -0800
commit655c7a8843261079fecf0b6e15de77972a0eb708 (patch)
tree167aeb717538bdc9f685a652009038d586530779 /modules/pam_group/pam_group.c
parent6ce511785e4b9751ef184236c2cf8f63bc25f512 (diff)
parent8645d4f5131d25692dfd78d3e1c46b03f33febf3 (diff)
downloadpam-655c7a8843261079fecf0b6e15de77972a0eb708.tar.gz
pam-655c7a8843261079fecf0b6e15de77972a0eb708.tar.bz2
pam-655c7a8843261079fecf0b6e15de77972a0eb708.zip
merge from trunk
Diffstat (limited to 'modules/pam_group/pam_group.c')
-rw-r--r--modules/pam_group/pam_group.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pam_group/pam_group.c b/modules/pam_group/pam_group.c
index 4a931c4f..3dc7f78e 100644
--- a/modules/pam_group/pam_group.c
+++ b/modules/pam_group/pam_group.c
@@ -605,7 +605,7 @@ static int check_account(pam_handle_t *pamh, const char *service,
no_grps = 0;
_pam_drop(grps);
}
-#ifdef DEBUG
+#ifdef PAM_DEBUG
{
int z;
for (z=0; z<no_grps; ++z) {
@@ -719,11 +719,11 @@ static int check_account(pam_handle_t *pamh, const char *service,
/* now set the groups for the user */
if (no_grps > 0) {
-#ifdef DEBUG
+#ifdef PAM_DEBUG
int err;
#endif
D(("trying to set %d groups", no_grps));
-#ifdef DEBUG
+#ifdef PAM_DEBUG
for (err=0; err<no_grps; ++err) {
D(("gid[%d]=%d", err, grps[err]));
}