Skip to content

Commit

Permalink
Make backtraces slightly cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed May 16, 2014
1 parent 05a604a commit 827b054
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/debug.c
Expand Up @@ -410,6 +410,11 @@ void fr_fault(int sig)

int code;

/*
* Makes the backtraces slightly cleaner
*/
memset(cmd, 0, sizeof(cmd));

fr_fault_log("CAUGHT SIGNAL: %s\n", strsignal(sig));

/*
Expand Down

0 comments on commit 827b054

Please sign in to comment.