summaryrefslogtreecommitdiffstats
path: root/tests/asm-tst3.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asm-tst3.c')
-rw-r--r--tests/asm-tst3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asm-tst3.c b/tests/asm-tst3.c
index e52cfbe1..a8f145d4 100644
--- a/tests/asm-tst3.c
+++ b/tests/asm-tst3.c
@@ -137,7 +137,7 @@ main (void)
}
/* Check the file. */
- fd = open (fname, O_RDONLY);
+ fd = open (fname, O_RDONLY | O_BINARY);
if (fd == -1)
{
printf ("cannot open generated file: %m\n");