]> Git Repo - qemu.git/commit
char: Use error_printf() to print help and such
authorMarkus Armbruster <[email protected]>
Wed, 17 Oct 2018 08:26:31 +0000 (10:26 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 19 Oct 2018 12:51:34 +0000 (14:51 +0200)
commitb1b769b0f3fd672886ade16da07b540acafeb1cc
tree17bdfb26a5e9f5cdd60c7d7c481f235c69bb02c6
parentc3b8e3e0ed40112367369683da1e3745cf203ac0
char: Use error_printf() to print help and such

Calling error_report() in a function that takes an Error ** argument
is suspicious.  Convert a few that are actually help and such to
error_printf().

Improves output of -chardev help from

    qemu-system-x86_64: -chardev help: Available chardev backend types:
    serial
    ...

to

    Available chardev backend types:
    serial
    ...

Cc: Paolo Bonzini <[email protected]>
Cc: "Marc-André Lureau" <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20181017082702[email protected]>
chardev/char-pty.c
chardev/char.c
This page took 0.027088 seconds and 4 git commands to generate.