Change strerror(ret) to strerror(-ret).

This commit is contained in:
Eugeni Dodonov
2011-09-15 15:12:02 -03:00
parent a7109a3199
commit 72e0a9226d
@@ -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);