summaryrefslogtreecommitdiffstats
path: root/tests/asm-tst9.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asm-tst9.c')
-rw-r--r--tests/asm-tst9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asm-tst9.c b/tests/asm-tst9.c
index b6d0e431..368c0751 100644
--- a/tests/asm-tst9.c
+++ b/tests/asm-tst9.c
@@ -164,7 +164,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");