summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <[email protected]>2011-09-15 15:12:02 -0300
committerEugeni Dodonov <[email protected]>2011-09-15 15:12:02 -0300
commit72e0a9226ddf9282a0351e71c0272882473c836d (patch)
tree4e85ae205f901183ccaf643ee70471ebc4d08d3a /src
parenta7109a31999f78a1184346f423a8df15be18d570 (diff)
Change strerror(ret) to strerror(-ret).
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_batchbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
index 98ae4e9d5fa..bb14cc27123 100644
--- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
@@ -138,7 +138,7 @@ do_flush_locked(struct intel_context *intel)
}
if (ret != 0) {
- fprintf(stderr, "intel_do_flush_locked failed: %s\n", strerror(ret));
+ fprintf(stderr, "intel_do_flush_locked failed: %s\n", strerror(-ret));
exit(1);
}
intel->vtbl.new_batch(intel);