You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2013/09/27 20:52:28 UTC

git commit: Fixed formatting log output in signal handler.

Updated Branches:
  refs/heads/master 8cf5bfa82 -> fc970f205


Fixed formatting log output in signal handler.

Review: https://reviews.apache.org/r/14375


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fc970f20
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fc970f20
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/fc970f20

Branch: refs/heads/master
Commit: fc970f2052c1c364ee6cd4b26d96c545efff30db
Parents: 8cf5bfa
Author: Vinod Kone <vi...@twitter.com>
Authored: Fri Sep 27 11:32:38 2013 -0700
Committer: Vinod Kone <vi...@twitter.com>
Committed: Fri Sep 27 11:43:23 2013 -0700

----------------------------------------------------------------------
 src/logging/logging.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/fc970f20/src/logging/logging.cpp
----------------------------------------------------------------------
diff --git a/src/logging/logging.cpp b/src/logging/logging.cpp
index 49a804c..850fb3c 100644
--- a/src/logging/logging.cpp
+++ b/src/logging/logging.cpp
@@ -69,7 +69,7 @@ void handler(int signal)
     RAW_LOG(WARNING, "Received signal SIGPIPE; escalating to SIGABRT");
     raise(SIGABRT);
   } else {
-    RAW_LOG(FATAL, "Unexpected signal in signal handler: " + signal);
+    RAW_LOG(FATAL, "Unexpected signal in signal handler: %d", signal);
   }
 }