diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-01-06 15:28:48 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-13 04:48:00 +0100 |
commit | 1901515c79f13d9a1913d246b6c0711318dadb4c (patch) | |
tree | ac8f3bc49fad51aac70690050fec46fe8e3d5e14 /drivers/char/bsr.c | |
parent | powerpc: Cleanup from l64 to ll64 change: arch code (diff) | |
download | linux-1901515c79f13d9a1913d246b6c0711318dadb4c.tar.xz linux-1901515c79f13d9a1913d246b6c0711318dadb4c.zip |
powerpc: Cleanup from l64 to ll64 change: drivers/char
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>
Diffstat (limited to 'drivers/char/bsr.c')
-rw-r--r-- | drivers/char/bsr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index 977dfb1096a0..f6094ae0ef33 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c @@ -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[] = { |