X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=common.h;h=a950f79194c55d849fe82da5d18e35cef2675464;hb=4698d40e0ba982029b4e1f018f2bdfc1b99a5b32;hp=656ea3798dde73d08b168fdfe54f5d4c72dcc04d;hpb=1a0114ccaf1f6a8dc1656589c6d733354fe310cd;p=model-checker.git diff --git a/common.h b/common.h index 656ea37..a950f79 100644 --- a/common.h +++ b/common.h @@ -23,7 +23,7 @@ do { \ if (!(expr)) { \ fprintf(stderr, "Error: assertion failed in %s at line %d\n", __FILE__, __LINE__); \ - exit(1); \ + exit(EXIT_FAILURE); \ } \ } while (0);