Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/cmd/traffic_cop/traffic_cop.cc b/cmd/traffic_cop/traffic_cop.cc
- index ed27e20..616cae7 100644
- --- a/cmd/traffic_cop/traffic_cop.cc
- +++ b/cmd/traffic_cop/traffic_cop.cc
- @@ -286,13 +286,10 @@ sig_fatal(int signum)
- #if defined(solaris)
- if (t) {
- if (t->si_code <= 0) {
- - cop_log(COP_FATAL, "cop received fatal user signal [%d] from"
- - " pid [%d] uid [%d]\n",
- - signum, (int)(t->si_pid), t->si_uid);
- + cop_log(COP_FATAL, "cop received fatal user signal [%d] from pid [%d] uid [%d]\n", signum, (int)(t->si_pid),
- + t->si_uid);
- } else {
- - cop_log(COP_FATAL, "cop received fatal kernel signal [%d], "
- - "reason [%d]\n",
- - signum, t->si_code);
- + cop_log(COP_FATAL, "cop received fatal kernel signal [%d], reason [%d]\n", signum, t->si_code);
- }
- } else {
- #endif
Advertisement
Add Comment
Please, Sign In to add comment