diff options
Diffstat (limited to 'dwmtimestatus.c')
| -rw-r--r-- | dwmtimestatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dwmtimestatus.c b/dwmtimestatus.c index 3db504c..3408e8c 100644 --- a/dwmtimestatus.c +++ b/dwmtimestatus.c @@ -25,10 +25,10 @@ struct status{ struct sigaction *s_act = NULL; struct status *current_status_ptr = NULL; -void sighandler( int si_code, siginfo_t *si_info, void *si_adr ){ +void sighandler( int si_code, siginfo_t *si_info, void *sig_addr ){ int exit_status = EXIT_SUCCESS; if ( si_code == SIGSEGV ){ - fprintf( stderr, "error: SIGSEGV received: %s\n", strerror(errno) ); + fprintf( stderr, "error: SIGSEGV received: %s (address: %p)\n", strerror(errno), sig_addr ); exit_status = EXIT_FAILURE; } else |
