Chris Wilson 48ad03ca0c lib: Capture errno on entry
When printing the errno, it is important that we capture the user errno
before we make any library calls - as they may alter the value.

References: https://bugs.freedesktop.org/show_bug.cgi?id=74007
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-01-31 16:57:17 +00:00
..
2014-01-31 16:57:17 +00:00
2014-01-19 22:13:36 +01:00
2013-12-05 15:32:42 -08:00
2011-03-29 22:52:50 +02:00
2011-03-29 22:52:50 +02:00
2013-11-06 09:34:35 -08:00
2014-01-28 13:58:23 -08:00
2013-03-22 14:45:06 -03:00