Guest User

Untitled

a guest
Feb 24th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. diff --git a/cmd/traffic_cop/traffic_cop.cc b/cmd/traffic_cop/traffic_cop.cc
  2. index ed27e20..616cae7 100644
  3. --- a/cmd/traffic_cop/traffic_cop.cc
  4. +++ b/cmd/traffic_cop/traffic_cop.cc
  5. @@ -286,13 +286,10 @@ sig_fatal(int signum)
  6. #if defined(solaris)
  7. if (t) {
  8. if (t->si_code <= 0) {
  9. - cop_log(COP_FATAL, "cop received fatal user signal [%d] from"
  10. - " pid [%d] uid [%d]\n",
  11. - signum, (int)(t->si_pid), t->si_uid);
  12. + cop_log(COP_FATAL, "cop received fatal user signal [%d] from pid [%d] uid [%d]\n", signum, (int)(t->si_pid),
  13. + t->si_uid);
  14. } else {
  15. - cop_log(COP_FATAL, "cop received fatal kernel signal [%d], "
  16. - "reason [%d]\n",
  17. - signum, t->si_code);
  18. + cop_log(COP_FATAL, "cop received fatal kernel signal [%d], reason [%d]\n", signum, t->si_code);
  19. }
  20. } else {
  21. #endif
Advertisement
Add Comment
Please, Sign In to add comment