index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-28 03:09:37 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-28 03:09:37 -0400 |
commit | a8b683d8e29510742f94c7ff558cda19d6644b68 (patch) | |
tree | 1aa64df1dff5afa00033176a398474555936b0d4 /src | |
parent | a3491224df3209563b68cc45b9b2d8ab747d208a (diff) |
-rw-r--r-- | src/pacman/pacman.c | 2 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 62b7cd02..8f640c8e 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -201,6 +201,8 @@ static void cleanup(int signum) { if(signum==SIGSEGV) { + /* write a log message and write to stderr */ + cb_log(PM_LOG_ERROR, "segmentation fault"); fprintf(stderr, "Internal pacman error: Segmentation fault.\n" "Please submit a full bug report with --debug if appropriate.\n"); exit(signum); |