summaryrefslogtreecommitdiffstats
path: root/lib/log.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-06-19 17:47:38 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2019-06-19 23:20:24 +0200
commit8ad7c5c2e714e8f987e6920f924534f289758684 (patch)
tree3b783978882f8ae106bc90ec6a8d87314d040503 /lib/log.c
parentlib: Use gotos in filter control functions (diff)
downloadfrr-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index b46e6cb2c..732b238b1 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -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)) {