From: Brian Norris Date: Wed, 8 Aug 2012 22:00:13 +0000 (-0700) Subject: common: add error_msg() function X-Git-Tag: pldi2013~282 X-Git-Url: http://demsky.eecs.uci.edu/git/?p=model-checker.git;a=commitdiff_plain;h=5c4fa9302d72d9782a786838d05f5daf261bedd0 common: add error_msg() function --- diff --git a/common.h b/common.h index 9794a92..017cb4f 100644 --- a/common.h +++ b/common.h @@ -26,4 +26,6 @@ do { \ } \ } while (0); +#define error_msg(...) fprintf(stderr, "Error: " __VA_ARGS__) + #endif /* __COMMON_H__ */