]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/scsi/osst.c
lib/vsprintf.c: remove %Z support
[mirror_ubuntu-artful-kernel.git] / drivers / scsi / osst.c
index 451de6c5e3c9942b3a8094bd705fbd234b094f91..75ac662793a3cdff00aaa92febd80c507ccdd16f 100644 (file)
@@ -3435,7 +3435,7 @@ static ssize_t osst_write(struct file * filp, const char __user * buf, size_t co
 
        /* Write must be integral number of blocks */
        if (STp->block_size != 0 && (count % STp->block_size) != 0) {
-               printk(KERN_ERR "%s:E: Write (%Zd bytes) not multiple of tape block size (%d%c).\n",
+               printk(KERN_ERR "%s:E: Write (%zd bytes) not multiple of tape block size (%d%c).\n",
                                       name, count, STp->block_size<1024?
                                       STp->block_size:STp->block_size/1024, STp->block_size<1024?'b':'k');
                retval = (-EINVAL);
@@ -3756,7 +3756,7 @@ static ssize_t osst_read(struct file * filp, char __user * buf, size_t count, lo
 
        if ((count % STp->block_size) != 0) {
                printk(KERN_WARNING
-                   "%s:W: Read (%Zd bytes) not multiple of tape block size (%d%c).\n", name, count,
+                   "%s:W: Read (%zd bytes) not multiple of tape block size (%d%c).\n", name, count,
                    STp->block_size<1024?STp->block_size:STp->block_size/1024, STp->block_size<1024?'b':'k');
        }
 
@@ -3815,7 +3815,7 @@ static ssize_t osst_read(struct file * filp, char __user * buf, size_t count, lo
 
                        if (transfer == 0) {
                                printk(KERN_WARNING
-                                 "%s:W: Nothing can be transferred, requested %Zd, tape block size (%d%c).\n",
+                                 "%s:W: Nothing can be transferred, requested %zd, tape block size (%d%c).\n",
                                        name, count, STp->block_size < 1024?
                                        STp->block_size:STp->block_size/1024,
                                        STp->block_size<1024?'b':'k');