From 0a00a9a05b357dafae86bf8af879aa601f101eba Mon Sep 17 00:00:00 2001 From: Yuanhan Liu Date: Sun, 4 Sep 2011 06:02:14 +0800 Subject: [PATCH] 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 Reviewed-by: Paul Berry --- src/mesa/drivers/dri/intel/intel_batchbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2