summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-28 08:12:22 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-28 08:12:22 +0100
commit5a5f9b2812a04721f9dbd67552a39c278cdde18b (patch)
treee453b9ed4ae7c52eee26f3be8657e7265af5f6c0 /src
parent2893d2b51653cc254000454ad054cd9f0afb1291 (diff)
sna: OsSigHandler expects 0 on handled
Returning 0 from sigtrap_handler() when we wish to fallback to the core OsSigHandler was precisely the wrong thing to do. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index fd771647..6f56a9ed 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -408,7 +408,7 @@ static int sigtrap_handler(int sig)
siglongjmp(sigjmp, sig);
}
- return 0;
+ return -1;
}
static void sigtrap_init(void)