]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/testing/selftests/net/udpgso.c
Merge tag 'linux-kselftest-5.5-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kerne...
[linux.git] / tools / testing / selftests / net / udpgso.c
index 614b31aad168b35564e91d9cfaa364e06e73762c..c66da6ffd6d8ddae81470ed1a4e680b4ffad43b9 100644 (file)
@@ -440,7 +440,8 @@ static bool __send_one(int fd, struct msghdr *msg, int flags)
        if (ret == -1)
                error(1, errno, "sendmsg");
        if (ret != msg->msg_iov->iov_len)
-               error(1, 0, "sendto: %d != %lu", ret, msg->msg_iov->iov_len);
+               error(1, 0, "sendto: %d != %llu", ret,
+                       (unsigned long long)msg->msg_iov->iov_len);
        if (msg->msg_flags)
                error(1, 0, "sendmsg: return flags 0x%x\n", msg->msg_flags);