summaryrefslogtreecommitdiffstats
path: root/hw/arm/imx25_pdk.c
diff options
context:
space:
mode:
authorMarkus Armbruster2015-12-18 16:35:04 +0100
committerMarkus Armbruster2016-01-13 15:16:16 +0100
commit85b01e096088832e68fb862e6277a3f858d69cbe (patch)
treee4b192472afea5b08ed3b9a8f55c9f62552ece66 /hw/arm/imx25_pdk.c
parentxen-hvm: Mark inappropriate error handling FIXME (diff)
downloadqemu-85b01e096088832e68fb862e6277a3f858d69cbe.tar.gz
qemu-85b01e096088832e68fb862e6277a3f858d69cbe.tar.xz
qemu-85b01e096088832e68fb862e6277a3f858d69cbe.zip
qemu-nbd: Replace BSDism <err.h> by error_report()
Coccinelle semantic patch @@ expression E; expression list ARGS; @@ - errx(E, ARGS); + error_report(ARGS); + exit(E); @@ expression E, FMT; expression list ARGS; @@ - err(E, FMT, ARGS); + error_report(FMT /*": %s"*/, ARGS, strerror(errno)); + exit(E); followed by a replace of '"/*": %s"*/' by ' : %s"', because I can't figure out how to make Coccinelle transform strings. A few of the error messages touched have trailing newlines. They'll be stripped later in this series. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1450452927-8346-2-git-send-email-armbru@redhat.com>
Diffstat (limited to 'hw/arm/imx25_pdk.c')
0 files changed, 0 insertions, 0 deletions