summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-06-12 09:21:13 -0700
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-06-30 12:14:40 -0400
commit08b8bfc1c649cf82edf43f686cbb9a4bac809679 (patch)
tree1706e037fc0fa2596bd96ff11fcb9fed4b6a1c19 /drivers/block
parentf7fdd84e04c8fdc9196abe3bfd27535bccb52ee5 (diff)
downloadlinux-stable-08b8bfc1c649cf82edf43f686cbb9a4bac809679.tar.gz
linux-stable-08b8bfc1c649cf82edf43f686cbb9a4bac809679.tar.bz2
linux-stable-08b8bfc1c649cf82edf43f686cbb9a4bac809679.zip
xen: Add __attribute__((format(printf... where appropriate
Use the compiler to verify printf formats and arguments. Fix fallout. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/xen-blkback/xenbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/xenbus.c b/drivers/block/xen-blkback/xenbus.c
index 6cc0db1bf522..3f129b45451a 100644
--- a/drivers/block/xen-blkback/xenbus.c
+++ b/drivers/block/xen-blkback/xenbus.c
@@ -684,7 +684,7 @@ again:
err = xenbus_switch_state(dev, XenbusStateConnected);
if (err)
- xenbus_dev_fatal(dev, err, "switching to Connected state",
+ xenbus_dev_fatal(dev, err, "%s: switching to Connected state",
dev->nodename);
return;