aboutsummaryrefslogtreecommitdiff
path: root/gdb/osabi.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-01-15 21:20:48 +0000
committerMark Kettenis <kettenis@gnu.org>2006-01-15 21:20:48 +0000
commit6062517a1e5f02caae2e6edba8d6c115327eddf7 (patch)
treeaf12a2e181e5dd291a1cee0cb4f4c0e214abd238 /gdb/osabi.c
parent9d51923083b0c6bf1f6746ee4cc1bce151f0db0c (diff)
downloadgdb-6062517a1e5f02caae2e6edba8d6c115327eddf7.zip
gdb-6062517a1e5f02caae2e6edba8d6c115327eddf7.tar.gz
gdb-6062517a1e5f02caae2e6edba8d6c115327eddf7.tar.bz2
* osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
commit.
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r--gdb/osabi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c
index 5d3962a..53d2fb2 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -547,7 +547,7 @@ generic_elf_osabi_sniffer (bfd *abfd)
"FreeBSD" in the padding of the e_ident field of the ELF
header to "brand" their ELF binaries in FreeBSD 3.x. */
if (memcmp (&elf_elfheader (abfd)->e_ident[8],
- "FreeBSD", sizeof ("FreeBSD") == 0)
+ "FreeBSD", sizeof ("FreeBSD")) == 0)
osabi = GDB_OSABI_FREEBSD_ELF;
}