]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(mprobe): Call checkhdr with adjusted pointer.
authorUlrich Drepper <drepper@redhat.com>
Wed, 30 Sep 1998 13:58:30 +0000 (13:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 30 Sep 1998 13:58:30 +0000 (13:58 +0000)
malloc/mcheck.c

index 05d4af25419f103b94fa0b1069f642f3f0dc32b2..e04e60caed7514a8db818f75ea3a02082ee89fa0 100644 (file)
@@ -212,7 +212,7 @@ mcheck (func)
   abortfunc = (func != NULL) ? func : &mabort;
 
   /* These hooks may not be safely inserted if malloc is already in use.  */
-  if (!__malloc_initialized <= 0 && !mcheck_used)
+  if (__malloc_initialized <= 0 && !mcheck_used)
     {
       old_free_hook = __free_hook;
       __free_hook = freehook;