clib: uses a macro to manage error printing, allowing customization
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 29 Jan 2013 19:48:11 +0000 (14:48 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 1 Feb 2013 19:34:17 +0000 (14:34 -0500)
commitaebca6e86887842b08663a61f97c1e8924d80b5b
tree5c3ed91cff29024e3076ffd3c923e5381d63185d
parentc0316e522d0d8053c0fb155bf1fbd14979a12202
clib: uses a macro to manage error printing, allowing customization

This will be used in the Android port to print errors in the standard
logging system.

The variadic macro format used by PRINT_ERROR is not in C89 but it is
in the standard C99.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
clib/nit_main.c