summaryrefslogtreecommitdiffstats
path: root/src/context.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-06-12 11:35:46 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-06-12 11:35:46 (GMT)
commite6a6e65d46196125a5baad4aeb1942aa043236fa (patch)
treef86c40c50b6791541ebdc4ba45a3e06b7deb6b3c /src/context.cpp
parentfa4e3f5f955e602f02545e049361510f3334cfff (diff)
downloadDoxygen-e6a6e65d46196125a5baad4aeb1942aa043236fa.zip
Doxygen-e6a6e65d46196125a5baad4aeb1942aa043236fa.tar.gz
Doxygen-e6a6e65d46196125a5baad4aeb1942aa043236fa.tar.bz2
Catch all wrong mkdir calls (coverity)
- Always catch the output of `mkdir` - corrected an incorrect message (context.cpp)
Diffstat (limited to 'src/context.cpp')
-rw-r--r--src/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.cpp b/src/context.cpp
index d21b1d0..3d71706 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -10343,7 +10343,7 @@ void generateTemplateFiles(const char *templateDir)
QCString outDir = QCString(templateDir)+"/html";
if (!thisDir.exists(outDir) && !thisDir.mkdir(outDir))
{
- err("Failed to create output directory '%s'\n",templateDir);
+ err("Failed to create output directory '%s'\n",outDir.data());
return;
}
ResourceMgr::instance().writeCategory("html",outDir);