diff options
author | Christian Hammers <ch@debian.org> | 2011-03-23 11:07:55 +0100 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-03-23 11:07:55 +0100 |
commit | fc95186c30884c96543aecfc56cfe5b08774525b (patch) | |
tree | 370b07b428152c8979b081b1a9267755b6df42be /lib/if.c | |
parent | bgpd: attribute jhash call should use a standard interface to in6_addr data (diff) | |
download | frr-fc95186c30884c96543aecfc56cfe5b08774525b.tar.xz frr-fc95186c30884c96543aecfc56cfe5b08774525b.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |