diff options
Diffstat (limited to 'src/objdump.c')
| -rw-r--r-- | src/objdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objdump.c b/src/objdump.c index 860cfac6..13d3e0b8 100644 --- a/src/objdump.c +++ b/src/objdump.c @@ -236,7 +236,7 @@ static int process_file (const char *fname, bool more_than_one) { /* Open the file. */ - int fd = open (fname, O_RDONLY); + int fd = open (fname, O_RDONLY | O_BINARY); if (fd == -1) { error (0, errno, gettext ("cannot open %s"), fname); |
