aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib569.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib569.c')
-rw-r--r--tests/libtest/lib569.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib569.c b/tests/libtest/lib569.c
index 6f276d350..9c5d803b9 100644
--- a/tests/libtest/lib569.c
+++ b/tests/libtest/lib569.c
@@ -33,7 +33,7 @@ int test(char *URL)
int i;
FILE *idfile;
- idfile = fopen(libtest_arg2, "w");
+ idfile = fopen(libtest_arg2, "wb");
if(idfile == NULL) {
fprintf(stderr, "couldn't open the Session ID File\n");
return TEST_ERR_MAJOR_BAD;