summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorChristian Hammers <ch@debian.org>2011-03-23 13:07:55 +0300
committerDenis Ovsienko <infrastation@yandex.ru>2011-08-03 13:09:51 +0400
commitaad356a49d6b00590b21751ea560c54f321c73c9 (patch)
treea39044ea48fadba476a8b55b96b03799ed161b30 /lib/if.c
parent1740f9e5906a7cb264e7741dd57a91654cb05dd0 (diff)
lib: fix more format warnings (#637)
The following patch was also neccessary to compile. * command.c: (config_logmsg_cmd) use "%s" format spec * if.c: (connected_log) ditto
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index e3107116..d14cfb93 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -664,7 +664,7 @@ connected_log (struct connected *connected, char *str)
strncat (logbuf, inet_ntop (p->family, &p->u.prefix, buf, BUFSIZ),
BUFSIZ - strlen(logbuf));
}
- zlog (NULL, LOG_INFO, logbuf);
+ zlog (NULL, LOG_INFO, "%s", logbuf);
}
/* If two connected address has same prefix return 1. */