diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-07 17:43:40 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-07 17:43:40 -0800 |
| commit | cdad85705d6c7cc8c2170995e78c8a1fc9cbfe1b (patch) | |
| tree | 419241482275286cb050b27cc0009532a572494b | |
| parent | 3482692415780c844f67bc87f8d82712c2c2e113 (diff) | |
[PATCH] cciss: printk format fix
From: mikem@beardog.cca.cpqcorp.net
This patch changes a format specifier to unsigned to prevent the number of
blocks being displayed as a negative value on very large volumes.
| -rw-r--r-- | drivers/block/cciss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 646466f8007a..7b3a3b134aa0 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c @@ -1309,7 +1309,7 @@ cciss_read_capacity(int ctlr, int logvol, ReadCapdata_struct *buf, *total_size = 0; *block_size = BLOCK_SIZE; } - printk(KERN_INFO " blocks= %d block_size= %d\n", + printk(KERN_INFO " blocks= %u block_size= %d\n", *total_size, *block_size); return; } |
