diff options
Diffstat (limited to 'tests/early-offscn.c')
| -rw-r--r-- | tests/early-offscn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/early-offscn.c b/tests/early-offscn.c index 924cb9ef..d47abc88 100644 --- a/tests/early-offscn.c +++ b/tests/early-offscn.c @@ -35,7 +35,7 @@ main (int argc, char *argv[]) elf_version (EV_CURRENT); /* Open the archive. */ - int fd = open (argv[1], O_RDONLY); + int fd = open (argv[1], O_RDONLY | O_BINARY); if (fd < 0) error (1, errno, "cannot open '%s'", argv[1]); |
