summaryrefslogtreecommitdiff
path: root/lib/log_int.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-10-03 00:19:11 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-10-03 23:24:24 +0200
commit65bf704b397b4d2a30c8bc3c5ea3c74fccbadc85 (patch)
treefa8a4f19d5a128adb396036ffeb85a97838c3dbc /lib/log_int.h
parent9b00962886a6958c2c2c65370c3a56f862fb0e9c (diff)
lib: add "log error-code" switch
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/log_int.h')
-rw-r--r--lib/log_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/log_int.h b/lib/log_int.h
index a7f8be9ae7..e17d0e80d2 100644
--- a/lib/log_int.h
+++ b/lib/log_int.h
@@ -36,6 +36,7 @@ struct zlog {
int facility; /* as per syslog facility */
int record_priority; /* should messages logged through stdio include the
priority of the message? */
+ int error_code;
int syslog_options; /* 2nd arg to openlog */
int timestamp_precision; /* # of digits of subsecond precision */
};