]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Report the correct file name in the error message.
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sat, 18 Sep 2010 12:31:38 +0000 (12:31 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sat, 18 Sep 2010 12:31:38 +0000 (12:31 +0000)
log.c

diff --git a/log.c b/log.c
index d6e61d17e89f1d99fbda20f351c9b0eeff9c9f95..982e5c915de4f4abf102cac8096cbbf1823ae1be 100644 (file)
--- 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);
                }
             }