projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5dbae2
)
Fix thinko in previous patch
author
Fred Fish
<fnf@specifix.com>
Sat, 13 Jul 1996 04:50:40 +0000
(
04:50
+0000)
committer
Fred Fish
<fnf@specifix.com>
Sat, 13 Jul 1996 04:50:40 +0000
(
04:50
+0000)
gdb/objfiles.c
patch
|
blob
|
history
diff --git
a/gdb/objfiles.c
b/gdb/objfiles.c
index ceea859a06d174c3709b9a981acc43f4d7a07bb4..f31bd3856695b7839aa841d1434e675884dfd028 100644
(file)
--- 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