[PATCH] bs_ssc.c: fix format string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The "Z" length modifier goes back to libc5 and shouldn't be used.

Signed-off-by: Arne Redlich <arne.redlich@xxxxxxxxxxxxxx>
---
 usr/bs_ssc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/bs_ssc.c b/usr/bs_ssc.c
index 193a9ed..6412972 100644
--- a/usr/bs_ssc.c
+++ b/usr/bs_ssc.c
@@ -568,7 +568,7 @@ static void tape_rdwr_request(struct scsi_cmd *cmd)
 		int len = scsi_get_in_length(cmd);
 
 		dprintf("Size of in_buffer = %d\n", len);
-		dprintf("Sizeof(buf): %Zd\n", sizeof(buf));
+		dprintf("Sizeof(buf): %zd\n", sizeof(buf));
 		dprintf("service action: 0x%02x\n", service_action);
 
 		if (service_action == 0) {	/* Short form - block ID */
-- 
1.7.9.1



--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux