mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 23:15:46 +00:00
Use STDERR_FILENO instead of magic number
This commit is contained in:
parent
1f5f40c091
commit
d2ee40597c
2
CRT.c
2
CRT.c
@ -972,7 +972,7 @@ void CRT_handleSIGSEGV(int signal) {
|
||||
void *backtraceArray[256];
|
||||
|
||||
size_t size = backtrace(backtraceArray, ARRAYSIZE(backtraceArray));
|
||||
backtrace_symbols_fd(backtraceArray, size, 2);
|
||||
backtrace_symbols_fd(backtraceArray, size, STDERR_FILENO);
|
||||
fprintf(stderr,
|
||||
"---\n"
|
||||
"\n"
|
||||
|
Loading…
Reference in New Issue
Block a user