[PATCH] intel: fix build error
Yuanhan Liu
yuanhan.liu at linux.intel.com
Sat Sep 3 15:02:14 PDT 2011
Fix a build error introduced by commit 6862b54f:
i965_dri.so.tmp: undefined reference to `strerr'
Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
---
src/mesa/drivers/dri/intel/intel_batchbuffer.c | 2 +-
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 c4bb836..98ae4e9 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", strerr(ret));
+ fprintf(stderr, "intel_do_flush_locked failed: %s\n", strerror(ret));
exit(1);
}
intel->vtbl.new_batch(intel);
--
1.7.3.1
More information about the mesa-dev
mailing list