From 70ae2161224618dcc1aab3ad632f1f50296d57de Mon Sep 17 00:00:00 2001 From: nohar Date: Wed, 22 Nov 2006 22:06:06 +0000 Subject: [PATCH] Fix error message. --- src/log.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/log.c b/src/log.c index f7212fa..abb2432 100644 --- a/src/log.c +++ b/src/log.c @@ -924,8 +924,8 @@ next_file: if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) { log_reinit(lfg); free(buf); - return _log_wrap("Error reading in logfile", - destination); + return _log_wrap(destination, + "Error reading in logfile"); } } for(;;) { @@ -977,8 +977,8 @@ next_file: if (!logdata->lastfile_seeked) { if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) { log_reinit(lfg); - return _log_wrap("Error reading in logfile", - destination); + return _log_wrap(destination, + "Error reading in logfile"); } logdata->lastfile_seeked = 1; mylog(LOG_DEBUG, "last file seedked!");