projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95bfc0b
)
vconn-stream: printf() specifier for int is %d (not %zu)
author
Bryan Phillippe
<bp@toroki.com>
Fri, 20 Aug 2010 16:25:34 +0000
(09:25 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 20 Aug 2010 17:43:35 +0000
(10:43 -0700)
lib/vconn-stream.c
patch
|
blob
|
history
diff --git
a/lib/vconn-stream.c
b/lib/vconn-stream.c
index e6c2946d4d6d9232b8a1a654c7a47c9cdbc08852..ba1cec66594bbafb12131141377c522bff3f4a67 100644
(file)
--- 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);