File file_zbc-fixed-compile-error-under-ppc64le.patch of Package tcmu-runner.17814

From: Jason Dillaman <dillaman@redhat.com>
Date: Tue, 9 Oct 2018 12:52:28 -0400
Subject: file_zbc: fixed compile error under ppc64le
Git-repo: https://github.com/agrover/tcmu-runner.git
Git-commit: bc4cfb8cc88f3c97e77840e0c4dcd63f04dcc147

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Acked-by: Lee Duncan <lduncan@suse.com>
---
 file_zbc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/file_zbc.c b/file_zbc.c
index 99f6b42dbc12..783c2a149e61 100644
--- a/file_zbc.c
+++ b/file_zbc.c
@@ -2060,8 +2060,8 @@ static int zbc_write_check_zones(struct tcmu_device *dev,
 
 		/* Check LBA on write pointer */
 		if (zbc_zone_seq_req(zone) && lba != zone->wp) {
-			tcmu_dev_err(dev, "Unaligned write lba %"PRIu64", wp %llu\n",
-				     lba, zone->wp);
+			tcmu_dev_err(dev, "Unaligned write lba %"PRIu64", wp %"PRIu64"\n",
+				     lba, (uint64_t)zone->wp);
 			return tcmu_set_sense_data(cmd->sense_buf,
 						   ILLEGAL_REQUEST,
 						   ASC_UNALIGNED_WRITE_COMMAND);

openSUSE Build Service is sponsored by