X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ferror.c;h=1841ce4047379dc46db6cdb958f144ee64e6a11a;hp=28f3255aa0a98de308b870d23469feaf7b0959b9;hb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c;hpb=d254c5e2ad008f26d5fda43c3f24f0a711c7e851 diff --git a/sbr/error.c b/sbr/error.c index 28f3255..1841ce4 100644 --- a/sbr/error.c +++ b/sbr/error.c @@ -29,14 +29,14 @@ advise(char *what, char *fmt, ...) ** print out error message and exit */ void -adios(char *what, char *fmt, ...) +adios(int status, char *what, char *fmt, ...) { va_list ap; va_start(ap, fmt); advertise(what, NULL, fmt, ap); va_end(ap); - exit(1); + exit(status); }