summaryrefslogtreecommitdiff
path: root/hw/wdt_i6300esb.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-09 04:28:30 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-07-28 09:08:12 +0000
commit52d06136bd534d3984fc33497334fd7d808ef2bd (patch)
treef5281ef5427d8054fbe53c29b2b4d2a3b24d3fa1 /hw/wdt_i6300esb.c
parent7ff7563fc1c3c57914aafec1753219604346fe18 (diff)
downloadqemu-52d06136bd534d3984fc33497334fd7d808ef2bd.tar.gz
qemu-52d06136bd534d3984fc33497334fd7d808ef2bd.tar.bz2
qemu-52d06136bd534d3984fc33497334fd7d808ef2bd.zip
vl.c: Don't print errno after failed qemu_chr_new()
The qemu_chr_new() function doesn't set errno on failure, so don't print strerror(errno) on the error handling path when dealing with the -serial, -parallel and -virtioconsole arguments. This avoids nonsensical error messages like: $ ./arm-softmmu/qemu-system-arm -serial wombat qemu: could not open serial device 'wombat': Success We also rephrase the message slightly to make it a little clearer that we're expecting the name of a QEMU chr backend rather than a host or guest serial/parallel/etc device. Reported-by: Christian Müller <christian.mueller@heig-vd.ch> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/wdt_i6300esb.c')
0 files changed, 0 insertions, 0 deletions