diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 10:03:14 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 10:03:14 -0700 |
commit | 774b5b9ac303291dd153e79a6f6bab918a599025 (patch) | |
tree | 2979f731dcf16aa677c07cc3ae4ff813c35fd2df /ospfd/ospf_api.c | |
parent | 4421ea9c1df765b81cde6a9a4c2347e12151d230 (diff) | |
download | quagga-774b5b9ac303291dd153e79a6f6bab918a599025.tar.bz2 quagga-774b5b9ac303291dd153e79a6f6bab918a599025.tar.xz |
get rid of compiler warnings in OSPF
To get rid of warnings:
* remove unused functions with ifdef
* use correct printf formats
Diffstat (limited to 'ospfd/ospf_api.c')
-rw-r--r-- | ospfd/ospf_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_api.c b/ospfd/ospf_api.c index 9c9997ba..179c97a7 100644 --- a/ospfd/ospf_api.c +++ b/ospfd/ospf_api.c @@ -220,7 +220,7 @@ msg_print (struct msg *msg) #else /* ORIGINAL_CODING */ /* API message common header part. */ zlog_debug - ("API-msg [%s]: type(%d),len(%d),seq(%lu),data(%p),size(%lu)", + ("API-msg [%s]: type(%d),len(%d),seq(%lu),data(%p),size(%z)", ospf_api_typename (msg->hdr.msgtype), msg->hdr.msgtype, ntohs (msg->hdr.msglen), (unsigned long) ntohl (msg->hdr.msgseq), STREAM_DATA (msg->s), STREAM_SIZE (msg->s)); |