diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-21 22:54:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-04-21 22:54:44 +0200 |
commit | 928adf412f6d568926e00831c55c8d2d574ddc61 (patch) | |
tree | 20afa2ea0f8b21954123afd4105cc72a1d1b3881 /src/tests | |
parent | 7b0086185fcebe671cafd4292ee0ce9e0e73c848 (diff) |
memtrap: make installation of SIGBUS handler explicit to ease integration into libraries
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/sigbus-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/sigbus-test.c b/src/tests/sigbus-test.c index dec4f0f2..4b9ca840 100644 --- a/src/tests/sigbus-test.c +++ b/src/tests/sigbus-test.c @@ -35,6 +35,7 @@ int main(int argc, char *argv[]) { pa_memtrap *m; pa_log_set_level(PA_LOG_DEBUG); + pa_memtrap_install(); /* Create the memory map */ pa_assert_se((fd = open("sigbus-test-map", O_RDWR|O_TRUNC|O_CREAT, 0660)) >= 0); |