diff options
| author | Bryan Phillippe <bp@toroki.com> | 2010-08-20 09:25:34 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-08-20 10:43:35 -0700 |
| commit | b56042ac5deef373cefe156fc18dc38257d6ddfe (patch) | |
| tree | 1bb79b60d32a34520cd91931cc6c633a1ccd57f6 /lib/vconn-stream.c | |
| parent | 95bfc0b8565bcff46f5fd9f6d0ba3072abe476ee (diff) | |
| download | openvswitch-b56042ac5deef373cefe156fc18dc38257d6ddfe.tar.gz | |
vconn-stream: printf() specifier for int is %d (not %zu)
Diffstat (limited to 'lib/vconn-stream.c')
| -rw-r--r-- | lib/vconn-stream.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
