Commit 3e598ca1 authored by David S. Miller's avatar David S. Miller

[OSST]: Use correct printf format string for size_t.

parent 76cdc54a
...@@ -3603,7 +3603,7 @@ static ssize_t osst_read(struct file * filp, char * buf, size_t count, loff_t *p ...@@ -3603,7 +3603,7 @@ static ssize_t osst_read(struct file * filp, char * buf, size_t count, loff_t *p
if (transfer == 0) { if (transfer == 0) {
printk(KERN_WARNING printk(KERN_WARNING
"%s:W: Nothing can be transfered, requested %d, tape block size (%d%c).\n", "%s:W: Nothing can be transfered, requested %Zd, tape block size (%d%c).\n",
name, count, STp->block_size < 1024? name, count, STp->block_size < 1024?
STp->block_size:STp->block_size/1024, STp->block_size:STp->block_size/1024,
STp->block_size<1024?'b':'k'); STp->block_size<1024?'b':'k');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment