ddebug: don't use abort()
authorMarek Olšák <marek.olsak@amd.com>
Tue, 19 Jul 2016 19:18:25 +0000 (21:18 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 26 Jul 2016 21:06:46 +0000 (23:06 +0200)
We don't want a core dump.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/ddebug/dd_draw.c

index 35ae774b3392cabc3487e737735b07f01fc510b8..8cc51fcf1e3e244d75a6404332d63fa8e864dbe0 100644 (file)
@@ -556,7 +556,7 @@ dd_kill_process(void)
    fprintf(stderr, "dd: Aborting the process...\n");
    fflush(stdout);
    fflush(stderr);
-   abort();
+   exit(1);
 }
 
 static bool