diff options
-rw-r--r-- | syslogd.c | 1 | ||||
-rw-r--r-- | syslogd.h | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -2360,6 +2360,7 @@ void logerrorVar(char *fmt, ...) return; } + /* Print syslogd errors some place. */ void logerror(char *type) @@ -50,6 +50,8 @@ #define MARK 0x008 /* this message is a mark */ void logerror(char *type); +void logerrorVar(char *fmt, ...) __attribute__((format(printf, 1, 2))); +/* the following two are legacy and should be replaced over time */ void logerrorSz(char *type, char *errMsg); void logerrorInt(char *type, int iErr); |