[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-commits
Subject: git commit: Fixed formatting log output in signal handler.
From: vinodkone () apache ! org
Date: 2013-09-27 18:52:28
Message-ID: 66a9d39fffd842efa09e48844739a356 () git ! apache ! org
[Download RAW message or body]
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 <vinod@twitter.com>
Authored: Fri Sep 27 11:32:38 2013 -0700
Committer: Vinod Kone <vinod@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);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic