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 ();