summaryrefslogtreecommitdiff
path: root/apps/jstest_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/jstest_main.c')
-rw-r--r--apps/jstest_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/jstest_main.c b/apps/jstest_main.c
index f01eabfc..2003ad55 100644
--- a/apps/jstest_main.c
+++ b/apps/jstest_main.c
@@ -326,7 +326,7 @@ main(int argc, char *argv[])
scriptname = argv[fz_optind++];
script = fopen(scriptname, "rb");
if (script == NULL)
- fz_throw(ctx, "cannot open script: %s", scriptname);
+ fz_throw(ctx, FZ_ERROR_GENERIC, "cannot open script: %s", scriptname);
do
{