diff options
Diffstat (limited to 'libpam')
-rw-r--r-- | libpam/Makefile | 2 | ||||
-rw-r--r-- | libpam/pam_malloc.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libpam/Makefile b/libpam/Makefile index 61958527..cf49f627 100644 --- a/libpam/Makefile +++ b/libpam/Makefile @@ -44,7 +44,7 @@ else MODULES = endif -ifdef WITH_MEMORY_DEBUG +ifeq ($(WITH_MEMORY_DEBUG),yes) EXTRAS += pam_malloc.o endif diff --git a/libpam/pam_malloc.c b/libpam/pam_malloc.c index 540dceef..75a1045d 100644 --- a/libpam/pam_malloc.c +++ b/libpam/pam_malloc.c @@ -23,7 +23,6 @@ #ifndef DEBUG #define DEBUG #endif - #include "pam_private.h" #include <security/pam_malloc.h> @@ -385,6 +384,8 @@ void *pam_alloca(size_t size void pam_exit(int i , const char *file, const char *fn, const int line) { + D(("time to exit")); + _fn("exit"); if (on(0)) err(("passed (%d)", i)); |