summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-10 11:48:40 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-10 11:58:11 +0100
commit224af800f695b50ba5a65b5a2b9ca1e7a88d4e1a (patch)
tree7bfe81cc2979e22006e46ce4a0e5bcfefa68c40e /src/sna/sna_driver.c
parent0d1df4762ffd7babb95a5f48f77487a6c7db83fe (diff)
sna: Emit assertions with FatalError
The intention is to be able to capture the assertion in the Xorg.0.log (journald equivalent). At the moment, it is emitted to stderr which is difficult to capture and defeats the goal of only asking the reporter to upload one log file. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 401737b3..7eed2143 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -37,7 +37,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "config.h"
#endif
-#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>