From dcb223badcf36e7dd6b826fa41c3ee24fe0e6a4b Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 29 Jun 2013 12:23:55 -0700 Subject: [PATCH] Use PRIu64 for format string --- test-tool/iscsi-support.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-tool/iscsi-support.c b/test-tool/iscsi-support.c index e61b97c..0f3e2e8 100644 --- a/test-tool/iscsi-support.c +++ b/test-tool/iscsi-support.c @@ -917,7 +917,8 @@ prin_verify_reserved_as(struct iscsi_context *iscsi, int lun, } if (rr->reservation_key != key) { logging(LOG_NORMAL, - "[FAILED] Failed to find reservation key 0x%llx: found 0x%lx.", + "[FAILED] Failed to find reservation key 0x%llx: found 0x%" + PRIu64 ".", key, rr->reservation_key); ret = -1; goto dun;