From: Frédéric Marchal Date: Sat, 18 Sep 2010 12:31:38 +0000 (+0000) Subject: Report the correct file name in the error message. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59dc95f5175df7de54db4dae5d95fa681f177af6;p=thirdparty%2Fsarg.git Report the correct file name in the error message. --- diff --git a/log.c b/log.c index d6e61d1..982e5c9 100644 --- a/log.c +++ b/log.c @@ -1494,7 +1494,7 @@ int main(int argc,char *argv[]) if ( ! fp_Download_Unsort ) { if ((fp_Download_Unsort = MY_FOPEN ( sz_Download_Unsort, "a")) == NULL) { - debuga(_("(log) Cannot open temporary file: %s - %s\n"),tmp3, strerror(errno)); + debuga(_("(log) Cannot open temporary file: %s - %s\n"),sz_Download_Unsort, strerror(errno)); exit (1); } }