diff --git a/ChangeLog b/ChangeLog index 14825597..d5be9214 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-23 Nicolas François + + * libmisc/cleanup_group.c: Fix compilation when compiled without + shadow group support. + 2008-12-23 Nicolas François * src/groupdel.c: Remove the fail_exit () declaration. diff --git a/libmisc/cleanup_group.c b/libmisc/cleanup_group.c index a6e2f9c9..d07adc71 100644 --- a/libmisc/cleanup_group.c +++ b/libmisc/cleanup_group.c @@ -90,6 +90,7 @@ void cleanup_report_mod_group (void *cleanup_info) #endif } +#ifdef SHADOWGRP void cleanup_report_mod_gshadow (void *cleanup_info) { const struct cleanup_info_mod *info; @@ -106,6 +107,7 @@ void cleanup_report_mod_gshadow (void *cleanup_info) SHADOW_AUDIT_FAILURE); #endif } +#endif /* * cleanup_report_add_group_group - Report failure to add a group to group