From edd5686e245b411c50088c13dc567772117e6f1e Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Tue, 4 Jan 2011 17:02:48 -0800 Subject: [PATCH] common: handle_fatal_signal: print threadid in hex Signed-off-by: Colin McCabe --- src/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cc b/src/config.cc index ff174606a4823..550619bf9be07 100644 --- a/src/config.cc +++ b/src/config.cc @@ -243,7 +243,7 @@ void handle_fatal_signal(int signum) { *_dout << "*** Caught signal (" << sys_siglist[signum] << ") ***" << std::endl; - *_dout << "in thread " << pthread_self() << std::endl; + *_dout << "in thread " << std::hex << pthread_self() << std::endl; BackTrace bt(0); bt.print(*_dout); _dout->flush(); -- 2.39.5