From 56b7f5ecbfebcb6ec7fa3eaf14a67c48129b5a27 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 17 Sep 2001 13:04:23 +0000 Subject: [PATCH] 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 --- src/fe-common/core/fe-log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)