summaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-06-12 18:21:13 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-06-30 18:14:40 +0200
commit08b8bfc1c649cf82edf43f686cbb9a4bac809679 (patch)
tree1706e037fc0fa2596bd96ff11fcb9fed4b6a1c19 /drivers/block/xen-blkback
parentMerge branch 'stable/vga.support' into stable/drivers (diff)
downloadlinux-08b8bfc1c649cf82edf43f686cbb9a4bac809679.tar.xz
linux-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/xen-blkback')
-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;