diff options
author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-06-19 17:47:38 +0200 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-06-19 23:20:24 +0200 |
commit | 8ad7c5c2e714e8f987e6920f924534f289758684 (patch) | |
tree | 3b783978882f8ae106bc90ec6a8d87314d040503 /lib/log.c | |
parent | lib: Use gotos in filter control functions (diff) | |
download | frr-8ad7c5c2e714e8f987e6920f924534f289758684.tar.xz frr-8ad7c5c2e714e8f987e6920f924534f289758684.zip |
lib: Remove extraneous spacing/output filter cmds
Use %% style for errors in log commands and switch
tabs to a single space in output. Also, remove un-needed
output for success.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/log.c')
-rw-r--r-- | lib/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ int zlog_filter_dump(char *buf, size_t max_size) int len = 0; for (int i = 0; i < zlog_filter_count; i++) { - ret = snprintf(buf + len, max_size - len, "\t%s\n", + ret = snprintf(buf + len, max_size - len, " %s\n", zlog_filters[i]); len += ret; if ((ret < 0) || ((size_t)len >= max_size)) { |