summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuanhan Liu <[email protected]>2011-09-04 06:02:14 +0800
committerPaul Berry <[email protected]>2011-09-03 07:26:52 -0700
commit0a00a9a05b357dafae86bf8af879aa601f101eba (patch)
tree1c4e7018af4654ba950b65e7d78199483e801b32
parent5572de8e7e71a15cefe6425b3e082c721052ef1e (diff)
intel: fix build error
Fix a build error introduced by commit 6862b54f: i965_dri.so.tmp: undefined reference to `strerr' Signed-off-by: Yuanhan Liu <[email protected]> Reviewed-by: Paul Berry <[email protected]>
-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 c4bb836f6e1..98ae4e9d5fa 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);