[Libreoffice-commits] online.git: loolwsd/LOOLWSD.cpp
Tor Lillqvist
tml at collabora.com
Tue Apr 12 14:58:51 UTC 2016
loolwsd/LOOLWSD.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 745950ceb27c1504e60d9b2605ef150605dc162b
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Apr 12 17:57:58 2016 +0300
Improve error logging for the fifo creation
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 4b1a1ed..e46fa02 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -1319,7 +1319,7 @@ int LOOLWSD::main(const std::vector<std::string>& /*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<std::string>& /*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);
}
More information about the Libreoffice-commits
mailing list