blob: 61cf7a9d380016f28939eed71dd42955fa41956c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/lregex.c b/lregex.c
index 59f5df6..f76aac0 100644
--- a/lregex.c
+++ b/lregex.c
@@ -408,7 +408,7 @@ static void processLanguageRegex (const langType language,
const char* regexfile = parameter + 1;
FILE* const fp = fopen (regexfile, "r");
if (fp == NULL)
- error (WARNING | PERROR, regexfile);
+ error (WARNING | PERROR, "%s", regexfile);
else
{
vString* const regex = vStringNew ();
|