diff options
Diffstat (limited to 'syslogd/logfile.c')
-rw-r--r-- | syslogd/logfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/syslogd/logfile.c b/syslogd/logfile.c index 6479bb5..0347ab7 100644 --- a/syslogd/logfile.c +++ b/syslogd/logfile.c @@ -108,6 +108,7 @@ static int logfile_open(logfile_t *file) file->size = sb.st_size; return 0; fail: + perror(file->filename); close(file->fd); file->fd = -1; return -1; |