diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-09-22 10:16:03 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-10-09 14:08:32 +0200 |
commit | 1e9c33f9a853aa7b5e89b32fecf54835a04b41ba (patch) | |
tree | 25e56a2473c3b4d3bffef86e5324bbd6edf15d57 | |
parent | be63003e3f1841b43614f0e11b0a291e11f1dad1 (diff) |
sig-monitor: Fix backtrace cropping
Change-Id: Ia2e5fbbe62c7145c5934494d2cf04d04526cecef
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/sig-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sig-monitor.c b/src/sig-monitor.c index c3d1a44f..db833437 100644 --- a/src/sig-monitor.c +++ b/src/sig-monitor.c @@ -87,7 +87,7 @@ static void safe_dumpstack_cb(int signum, void *closure) static void safe_dumpstack(int crop, int signum) { - int args[2] = { crop, signum }; + int args[2] = { crop + 3, signum }; in_safe_dumpstack = 1; sig_monitor(0, safe_dumpstack_cb, args); |