From 745950ceb27c1504e60d9b2605ef150605dc162b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 12 Apr 2016 17:57:58 +0300 Subject: [PATCH] Improve error logging for the fifo creation --- loolwsd/LOOLWSD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp index 4b1a1ed10..e46fa0216 100644 --- a/loolwsd/LOOLWSD.cpp +++ b/loolwsd/LOOLWSD.cpp @@ -1319,7 +1319,7 @@ int LOOLWSD::main(const std::vector& /*args*/) Log::debug("mkfifo(" + pipeLoolwsd + ")"); if (mkfifo(pipeLoolwsd.c_str(), 0666) < 0 && errno != EEXIST) { - Log::syserror("Failed to create pipe FIFO [" + pipeLoolwsd + "]."); + Log::syserror("Failed to create fifo [" + pipeLoolwsd + "]."); return Application::EXIT_SOFTWARE; } @@ -1330,7 +1330,7 @@ int LOOLWSD::main(const std::vector& /*args*/) Log::debug("mkfifo(" + pipeNotify + ")"); if (mkfifo(pipeNotify.c_str(), 0666) < 0 && errno != EEXIST) { - Log::syserror("Failed to create pipe FIFO [" + std::string(FIFO_ADMIN_NOTIFY) + "]."); + Log::syserror("Failed to create fifo [" + pipeNotify + "]."); std::exit(Application::EXIT_SOFTWARE); }