diff options
Diffstat (limited to 'main/ctags/error-format.patch')
-rw-r--r-- | main/ctags/error-format.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/ctags/error-format.patch b/main/ctags/error-format.patch new file mode 100644 index 0000000000..61cf7a9d38 --- /dev/null +++ b/main/ctags/error-format.patch @@ -0,0 +1,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 (); |