From 59e663c3876572651c701e24edf382a155e4ae6f Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Mon, 11 Jul 2016 19:51:39 +0200
Subject: [PATCH] Address a warning related to printing off_t.

---
 gtests/net/packetdrill/run_system_call.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index 04624343..b9ec7f43 100644
--- a/gtests/net/packetdrill/run_system_call.c
+++ b/gtests/net/packetdrill/run_system_call.c
@@ -4456,8 +4456,8 @@ static int syscall_sendfile(struct state *state, struct syscall_spec *syscall,
 	if ((status == STATUS_OK) &&
 	    (script_sbytes != live_sbytes)) {
 		asprintf(error,
-			 "Expected sbytes %lu but got %lu",
-			 script_sbytes, live_sbytes);
+			 "Expected sbytes %lld but got %lld",
+			 (long long)script_sbytes, (long long)live_sbytes);
 		goto error_out;
 	}
 
-- 
GitLab