summaryrefslogtreecommitdiffstats
path: root/src/erec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/erec.c')
-rw-r--r--src/erec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erec.c b/src/erec.c
index 76fdeb86..80806ffe 100644
--- a/src/erec.c
+++ b/src/erec.c
@@ -27,7 +27,7 @@ const struct location internal_location = {
.indesc = &internal_indesc,
};
-static const char *error_record_names[] = {
+static const char * const error_record_names[] = {
[EREC_INFORMATIONAL] = NULL,
[EREC_WARNING] = "Warning",
[EREC_ERROR] = "Error"