summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-07-19 21:18:25 +0200
committerMarek Olšák <[email protected]>2016-07-26 23:06:46 +0200
commit6b9924ccb67ad04ef8f3020dd08a5b47d4ec06e2 (patch)
tree61a1c845b44ec1bbc317af7778ff6e86e9a5eb3c /src/gallium/drivers/ddebug
parent26ef8158ac3c076cba0c1bcc4b42fdf233562cf9 (diff)
ddebug: don't use abort()
We don't want a core dump. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug')
-rw-r--r--src/gallium/drivers/ddebug/dd_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c
index 35ae774b339..8cc51fcf1e3 100644
--- a/src/gallium/drivers/ddebug/dd_draw.c
+++ b/src/gallium/drivers/ddebug/dd_draw.c
@@ -556,7 +556,7 @@ dd_kill_process(void)
fprintf(stderr, "dd: Aborting the process...\n");
fflush(stdout);
fflush(stderr);
- abort();
+ exit(1);
}
static bool