Mesa (master): intel: fix build error

Paul Berry stereotype441 at kemper.freedesktop.org
Sat Sep 3 14:27:41 UTC 2011


Module: Mesa
Branch: master
Commit: 0a00a9a05b357dafae86bf8af879aa601f101eba
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a00a9a05b357dafae86bf8af879aa601f101eba

Author: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Date:   Sun Sep  4 06:02:14 2011 +0800

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 <yuanhan.liu at linux.intel.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.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);




More information about the mesa-commit mailing list