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