summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'psi/iinit.c')
-rw-r--r--psi/iinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psi/iinit.c b/psi/iinit.c
index e3471292..2d8bfe99 100644
--- a/psi/iinit.c
+++ b/psi/iinit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2021 Artifex Software, Inc.
+/* Copyright (C) 2001-2022 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -363,7 +363,7 @@ obj_init(i_ctx_t **pi_ctx_p, gs_dual_memory_t *idmem)
/* Create the error name table */
{
- int n = countof(gs_error_names) - 1;
+ int n = countof(gs_error_names);
int i;
ref era;