git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed coding style
[sliver-openvswitch.git]
/
lib
/
netdev-pltap.c
diff --git
a/lib/netdev-pltap.c
b/lib/netdev-pltap.c
index
00181ab
..
46ab2fd
100644
(file)
--- a/
lib/netdev-pltap.c
+++ b/
lib/netdev-pltap.c
@@
-562,7
+562,7
@@
netdev_pltap_send(struct netdev *netdev_, const void *buffer, size_t size)
retval = writev(dev->fd, iov, 2);
if (retval >= 0) {
if (retval != size + 4) {
retval = writev(dev->fd, iov, 2);
if (retval >= 0) {
if (retval != size + 4) {
- VLOG_WARN_RL(&rl, "sent partial Ethernet packet (%
zd bytes of %zu
) on %s",
+ VLOG_WARN_RL(&rl, "sent partial Ethernet packet (%
"PRIdSIZE" bytes of %"PRIuSIZE"
) on %s",
retval, size + 4, netdev_get_name(netdev_));
}
return 0;
retval, size + 4, netdev_get_name(netdev_));
}
return 0;