From: Yuanhan Liu Date: Sat, 3 Sep 2011 22:02:14 +0000 (+0800) Subject: intel: fix build error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a00a9a05b357dafae86bf8af879aa601f101eba;p=mesa.git 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 --- 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);