X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=readlog_sarg.c;h=c60ff285d0f1340b3cefddf778f0b44abf2a9988;hb=af961877f77041289e246d781798043a71df386c;hp=2dc1c6c0347dc4c0aa611293a0f886fcc069cc02;hpb=2ef286b655066d4120f98e801f0209c66b24e17f;p=thirdparty%2Fsarg.git diff --git a/readlog_sarg.c b/readlog_sarg.c index 2dc1c6c..c60ff28 100644 --- a/readlog_sarg.c +++ b/readlog_sarg.c @@ -72,7 +72,7 @@ static enum ReadLogReturnCodeEnum Sarg_ReadEntry(char *Line,struct ReadLogStruct if (strncmp(Line,"*** SARG Log ***",16)==0) { if (InvalidFileName) { - debuga(_("The name of the file is invalid for a sarg log\n")); + debuga(__FILE__,__LINE__,_("The name of the file is invalid for a sarg log\n")); exit(EXIT_FAILURE); } getperiod_merge(&period,&SargPeriod); @@ -156,7 +156,7 @@ static enum ReadLogReturnCodeEnum Sarg_ReadEntry(char *Line,struct ReadLogStruct // check the entry time if (mktime(&Entry->EntryTime)==-1) { - debuga(_("Invalid date or time found in the common log file\n")); + debuga(__FILE__,__LINE__,_("Invalid date or time found in the common log file\n")); return(RLRC_InternalError); }