diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-11 16:18:05 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-11 19:00:53 -0700 |
commit | d6dc4ba487f79ba79e5fb02f4c3e978fa1edeee5 (patch) | |
tree | 35d234bd4a14e2391300f46ba8c22b1f9b8d42e7 /ospfd/ospf_api.c | |
parent | 762cb0d0e116860bc72d7f0be3c048871da9512f (diff) | |
download | quagga-d6dc4ba487f79ba79e5fb02f4c3e978fa1edeee5.tar.bz2 quagga-d6dc4ba487f79ba79e5fb02f4c3e978fa1edeee5.tar.xz |
Fix compiler warnings from incorrect format strings
Mostly from incorrect usage of z option. Need to use:
printf(" size = %zd", x->size);
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 179c97a7..b6c8bc90 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(%z)", + ("API-msg [%s]: type(%d),len(%d),seq(%lu),data(%p),size(%zd)", 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)); |