summaryrefslogtreecommitdiff
path: root/tests/t-filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t-filter.c')
-rw-r--r--tests/t-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t-filter.c b/tests/t-filter.c
index c7bc2c7f..50479bea 100644
--- a/tests/t-filter.c
+++ b/tests/t-filter.c
@@ -82,7 +82,7 @@ main(int argc, char **argv)
pipe = filter;
}
- err = fz_openfile(&file, "/dev/stdin", O_RDONLY);
+ err = fz_openfile(&file, "/dev/stdin", FZ_READ);
if (err) fz_abort(err);
if (pipe)