diff options
| author | stderr64 <stderr64@null.net> | 2026-01-27 20:24:50 +0200 |
|---|---|---|
| committer | stderr64 <stderr64@null.net> | 2026-01-27 20:24:50 +0200 |
| commit | 0e75d8366bbd6b287a6804758177fc47fc89062d (patch) | |
| tree | 08097b00324e6a3bae07568624b9034c9ced9c27 /dwmtimestatus.c | |
| parent | a74507daf4df36b1e005b4d9933ece2bae8986a5 (diff) | |
| download | dwmtimestatus-0e75d8366bbd6b287a6804758177fc47fc89062d.tar.gz dwmtimestatus-0e75d8366bbd6b287a6804758177fc47fc89062d.tar.zst | |
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 |
