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