diff options
Diffstat (limited to 'source/tools/pdfshow.c')
-rw-r--r-- | source/tools/pdfshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c index f2b01daa..04a2c859 100644 --- a/source/tools/pdfshow.c +++ b/source/tools/pdfshow.c @@ -239,7 +239,7 @@ int pdfshow_main(int argc, char **argv) out = stdout; if (output) { - out = fopen(output, "wb"); + out = fz_fopen(output, "wb"); if (!out) { fprintf(stderr, "cannot open output file: '%s'\n", output); |