From: Bryan Phillippe Date: Fri, 20 Aug 2010 16:25:34 +0000 (-0700) Subject: vconn-stream: printf() specifier for int is %d (not %zu) X-Git-Tag: v1.1.0pre1~77 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b56042ac5deef373cefe156fc18dc38257d6ddfe;p=sliver-openvswitch.git vconn-stream: printf() specifier for int is %d (not %zu) --- diff --git a/lib/vconn-stream.c b/lib/vconn-stream.c index e6c2946d4..ba1cec665 100644 --- a/lib/vconn-stream.c +++ b/lib/vconn-stream.c @@ -173,8 +173,7 @@ vconn_stream_recv(struct vconn *vconn, struct ofpbuf **bufferp) oh = s->rxbuf->data; rx_len = ntohs(oh->length); if (rx_len < sizeof(struct ofp_header)) { - VLOG_ERR_RL(&rl, "received too-short ofp_header (%zu bytes)", - rx_len); + VLOG_ERR_RL(&rl, "received too-short ofp_header (%d bytes)", rx_len); return EPROTO; } else if (s->rxbuf->size < rx_len) { int retval = vconn_stream_recv__(s, rx_len);