powerpc: Cleanup from l64 to ll64 change: drivers/char
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Jan 2009 14:28:48 +0000 (14:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 13 Jan 2009 03:48:00 +0000 (14:48 +1100)
This is a powerpc specific driver.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/bsr.c

index 977dfb1096a0c16120f1bc205ba45f4ccd80c4c1..f6094ae0ef334f622ec80f48bd559cae243ebcae 100644 (file)
@@ -103,7 +103,7 @@ static ssize_t
 bsr_len_show(struct device *dev, struct device_attribute *attr, char *buf)
 {
        struct bsr_dev *bsr_dev = dev_get_drvdata(dev);
-       return sprintf(buf, "%lu\n", bsr_dev->bsr_len);
+       return sprintf(buf, "%llu\n", bsr_dev->bsr_len);
 }
 
 static struct device_attribute bsr_dev_attrs[] = {