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