diff options
Diffstat (limited to 'tests/show-abbrev.c')
| -rw-r--r-- | tests/show-abbrev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/show-abbrev.c b/tests/show-abbrev.c index b0af0297..3a0c91d1 100644 --- a/tests/show-abbrev.c +++ b/tests/show-abbrev.c @@ -31,7 +31,7 @@ main (int argc, char *argv[]) for (cnt = 1; cnt < argc; ++cnt) { - int fd = open (argv[cnt], O_RDONLY); + int fd = open (argv[cnt], O_RDONLY | O_BINARY); Dwarf *dbg = dwarf_begin (fd, DWARF_C_READ); if (dbg == NULL) { |
