Fix thinko in previous patch
authorFred Fish <fnf@specifix.com>
Sat, 13 Jul 1996 04:50:40 +0000 (04:50 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 13 Jul 1996 04:50:40 +0000 (04:50 +0000)
gdb/objfiles.c

index ceea859a06d174c3709b9a981acc43f4d7a07bb4..f31bd3856695b7839aa841d1434e675884dfd028 100644 (file)
@@ -898,7 +898,7 @@ map_to_file (fd)
        {
          /* This is a freshly created mapping file. */
          mapto = (CORE_ADDR) mmalloc_findbase (20 * 1024 * 1024);
-         if (mapto != NULL)
+         if (mapto != 0)
            {
              /* To avoid reusing the freshly created mapping file, at the 
                 address selected by mmap, we must truncate it before trying
This page took 0.039601 seconds and 4 git commands to generate.