intel: fix build error
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 3 Sep 2011 22:02:14 +0000 (06:02 +0800)
committerPaul Berry <stereotype441@gmail.com>
Sat, 3 Sep 2011 14:26:52 +0000 (07:26 -0700)
Fix a build error introduced by commit 6862b54f:
i965_dri.so.tmp: undefined reference to `strerr'

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_batchbuffer.c

index c4bb836f6e193ccdd2b29a854bc8a1f633d4be8b..98ae4e9d5faee112dd6bb915422db87418c745a5 100644 (file)
@@ -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);