summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-09-17 13:04:23 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-09-17 13:04:23 +0000
commit56b7f5ecbfebcb6ec7fa3eaf14a67c48129b5a27 (patch)
tree523d1dccbf782d50d19bf957b1ffa400223d8194
parent2655c1ffe01f926443f019f399c71678b3ed5e7e (diff)
downloadirssi-56b7f5ecbfebcb6ec7fa3eaf14a67c48129b5a27.zip
Print the log's expanded file name when complaining about not being able to
create log file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1798 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/core/fe-log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c
index 0de61681..b5704724 100644
--- a/src/fe-common/core/fe-log.c
+++ b/src/fe-common/core/fe-log.c
@@ -601,7 +601,8 @@ static void sig_log_locked(LOG_REC *log)
static void sig_log_create_failed(LOG_REC *log)
{
printformat(NULL, NULL, MSGLEVEL_CLIENTNOTICE,
- TXT_LOG_CREATE_FAILED, log->fname, g_strerror(errno));
+ TXT_LOG_CREATE_FAILED,
+ log->real_fname, g_strerror(errno));
}
static void sig_log_new(LOG_REC *log)