aboutsummaryrefslogtreecommitdiff
path: root/gdb/dicos-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dicos-tdep.c')
-rw-r--r--gdb/dicos-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c
index 954428a..3ef9114 100644
--- a/gdb/dicos-tdep.c
+++ b/gdb/dicos-tdep.c
@@ -70,7 +70,7 @@ dicos_load_module_p (bfd *abfd, int header_size)
if (!section)
return 0;
- if (bfd_section_size (abfd, section) != header_size)
+ if (bfd_section_size (section) != header_size)
return 0;
/* Dicos LMs always have a "Dicos_loadModuleInfo" symbol