diff options
author | Andrew Potter <agpotter@gmail.com> | 2015-09-27 21:53:29 -0700 |
---|---|---|
committer | Andrew Potter <agpotter@gmail.com> | 2015-09-27 22:04:47 -0700 |
commit | b3d1d1877e30212a09f4490289e25a8235f35b3e (patch) | |
tree | 1e0e11b8a6b4ec71fcba211a42e3963f3990225e /src/plugins/logger | |
parent | 152b5ec2a7b92527695e2093d5ff45488816e83d (diff) | |
download | weechat-b3d1d1877e30212a09f4490289e25a8235f35b3e.zip |
logger: Report system error string to user
Diffstat (limited to 'src/plugins/logger')
-rw-r--r-- | src/plugins/logger/logger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c index 06e0ff4ca..ac0752b82 100644 --- a/src/plugins/logger/logger.c +++ b/src/plugins/logger/logger.c @@ -561,9 +561,9 @@ logger_write_line (struct t_logger_buffer *logger_buffer, { weechat_printf_tags (NULL, "no_log", - _("%s%s: unable to write log file \"%s\""), + _("%s%s: unable to write log file \"%s\": %s"), weechat_prefix ("error"), LOGGER_PLUGIN_NAME, - logger_buffer->log_filename); + logger_buffer->log_filename, strerror(errno)); logger_buffer_free (logger_buffer); return; } |