diff -r 90e14e0df133 -r c71f3053c714 src/lib/error.h --- a/src/lib/error.h Fri Oct 17 16:09:35 2008 +0300 +++ b/src/lib/error.h Fri Oct 17 18:53:05 2008 +0300 @@ -7,6 +7,7 @@ #define PERROR(...) do { perr_func(__func__, __VA_ARGS__); goto error; } while (0) #define EERROR(_err, ...) do { eerr_func(__func__, (_err), __VA_ARGS__); goto error; } while (0) #define NERROR(...) do { err_func_nonl(__func__, __VA_ARGS__); goto error; } while (0) +#define SERROR(_err) do { (_err); goto error; } while (0) // XXX: replace with *err_func(...) + exit(EXIT_FAILURE) #define FATAL(...) err_func_exit(__func__, __VA_ARGS__)