aboutsummaryrefslogtreecommitdiff
path: root/syslogd/logfile.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-13 22:06:34 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-13 22:06:34 +0200
commit0624f95de639a41e8a47c264cdb7387a386a4dcd (patch)
treee2385f329e659eace10c91af28bad30c31c16627 /syslogd/logfile.h
parente15208097cf3e97c8165536c2005e53961227621 (diff)
usyslogd: cleanup log file filename handling
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'syslogd/logfile.h')
-rw-r--r--syslogd/logfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd/logfile.h b/syslogd/logfile.h
index 3a596ba..ccbfd5d 100644
--- a/syslogd/logfile.h
+++ b/syslogd/logfile.h
@@ -23,10 +23,10 @@ typedef struct logfile_t {
int facility;
int fd;
- char ident[];
+ char filename[];
} logfile_t;
-logfile_t *logfile_create(const char *ident, const char *name, int facility);
+logfile_t *logfile_create(const char *filename, int facility);
void logfile_destroy(logfile_t *file);