From: Frederic Marchal Date: Sun, 4 Oct 2015 14:09:39 +0000 (+0200) Subject: Use the proper exit constant instead of the hard coded numérical value. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2daef2076d35f414cd66a0d054b2798671ea86ad;p=thirdparty%2Fsarg.git Use the proper exit constant instead of the hard coded numérical value. --- diff --git a/readlog.c b/readlog.c index 2f70acb..d81032e 100644 --- a/readlog.c +++ b/readlog.c @@ -688,7 +688,7 @@ static void ReadOneLogFile(struct ReadLogDataStruct *Filter,const char *arq) } if ((ufile->file = MY_FOPEN (tmp3, "a")) == NULL) { debuga(__FILE__,__LINE__,_("(log) Cannot open temporary file %s: %s\n"), tmp3, strerror(errno)); - exit (1); + exit(EXIT_FAILURE); } }