diff options
Diffstat (limited to 'test/showcmap.c')
-rw-r--r-- | test/showcmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/showcmap.c b/test/showcmap.c index 80575a4c..3e6e5e8e 100644 --- a/test/showcmap.c +++ b/test/showcmap.c @@ -7,7 +7,7 @@ int main(int argc, char **argv) fz_cmap *cmap; fz_file *file; - err = fz_openfile(&file, argv[1], O_RDONLY); + err = fz_openfile(&file, argv[1], FZ_READ); if (err) fz_abort(err); |