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@linux.intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
Yuanhan Liu 2011-09-04 06:02:14 +08:00 committed by Paul Berry
parent 5572de8e7e
commit 0a00a9a05b

View 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);