From 0a4d0a494e107f49a7aa157628d204b87a984f3b Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sat, 13 Jul 1996 04:50:40 +0000 Subject: [PATCH] Fix thinko in previous patch --- gdb/objfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/objfiles.c b/gdb/objfiles.c index ceea859a06d..f31bd385669 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -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 -- 2.30.2