summaryrefslogtreecommitdiff
path: root/hw/scsi-generic.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-12-20 18:13:08 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-06 15:07:00 +0000
commitbe62a2ebab29eef7dc66c112d60271890ebbbee2 (patch)
tree1002b4c87da2f01304b89a1dc49e20b97cb59254 /hw/scsi-generic.c
parentd70d6b31091ab522ce793a52559e3dd9f9913b32 (diff)
downloadqemu-be62a2ebab29eef7dc66c112d60271890ebbbee2.tar.gz
qemu-be62a2ebab29eef7dc66c112d60271890ebbbee2.tar.bz2
qemu-be62a2ebab29eef7dc66c112d60271890ebbbee2.zip
Strip trailing '\n' from error_report()'s first argument (again)
Commit 6daf194d got rid of them, but Hans and Gerd added some more lately. Tracked down with this Coccinelle semantic patch: @r@ expression fmt; position p; @@ error_report(fmt, ...)@p @script:python@ fmt << r.fmt; p << r.p; @@ if "\\n" in str(fmt): print "%s:%s:%s:%s" % (p[0].file, p[0].line, p[0].column, fmt) Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/scsi-generic.c')
0 files changed, 0 insertions, 0 deletions