diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-28 08:12:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-28 08:12:22 +0100 |
commit | 5a5f9b2812a04721f9dbd67552a39c278cdde18b (patch) | |
tree | e453b9ed4ae7c52eee26f3be8657e7265af5f6c0 /src | |
parent | 2893d2b51653cc254000454ad054cd9f0afb1291 (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.c | 2 |
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) |