I believe initalized is being used to not recurse into the __hugetlbfs_init_debug() function, but it's never being set in the function, so I'm not sure it's have the desired effect.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> diff --git a/debug.c b/debug.c index 90fa5dc..d561a14 100644 @@ -41,6 +41,8 @@ void __hugetlbfs_init_debug(void) env = getenv("HUGETLB_VERBOSE"); if (env) __hugetlbfs_verbose = atoi(env); + + intialized = 1; } static void __attribute__ ((constructor)) setup_debug(void) -- Nishanth Aravamudan <[EMAIL PROTECTED]> IBM Linux Technology Center ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel