summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-03-24 19:37:58 +0100
committerDavid Lamparter <equinox@diac24.net>2020-03-24 19:43:18 +0100
commit46171e257c01c10bb0acf194d2b8d1f7edc03449 (patch)
tree53c5b963826bd4790034bd18f595a0f7427fe4be /lib/log.h
parent63efca0e95c727318485fe6d37141f79b1401a88 (diff)
lib: rewrite zlog_hexdump()
The old version was creating a multi-line log message, which we can't properly handle right now. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.h b/lib/log.h
index 501da88a54..d79ad9f805 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -152,7 +152,7 @@ extern void zlog_backtrace_sigsafe(int priority, void *program_counter);
extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */,
char *buf, size_t buflen);
-extern void zlog_hexdump(const void *mem, unsigned int len);
+extern void zlog_hexdump(const void *mem, size_t len);
extern const char *zlog_sanitize(char *buf, size_t bufsz, const void *in,
size_t inlen);