OSDN Git Service

aubinator: stop using non portable error() function
authorJonathan Gray <jsg@jsg.id.au>
Thu, 1 Sep 2016 17:12:24 +0000 (03:12 +1000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 8 Sep 2016 17:37:02 +0000 (18:37 +0100)
commit0ba9e281fc0a97fe170a160e72a029ce92f397bc
tree2050ca6ecd4eee023027653e5698d2aaec8d2f9a
parentdbda375d6fe29a1a0822fe5123c55c33ecfa7894
aubinator: stop using non portable error() function

error() is a gnu extension and is not present on OpenBSD
and likely other systems.

Convert use of error to fprintf/strerror/exit.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/tools/aubinator.c