X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev-pltap.c;h=46ab2fd6a676ae3e90aedada6cadbf5fe3900119;hb=f263172c99fd0a72c3f6666ffbaeaab786a3f1a8;hp=00181ab3b1d4382159d3842c47d8b87c7ac35f73;hpb=0a407cd6f2129793940bfbd42dc39fe97e93e14b;p=sliver-openvswitch.git diff --git a/lib/netdev-pltap.c b/lib/netdev-pltap.c index 00181ab3b..46ab2fd6a 100644 --- 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) { - 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;