qemu-socket: Polish errors for connect() and listen() failure
commitdbe2a7a62a94edfcf28826a39fffcc237ac1864b
authorMarkus Armbruster <armbru@redhat.com>
Fri, 19 Sep 2014 07:27:04 +0000 (19 09:27 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 26 Sep 2014 17:18:38 +0000 (26 13:18 -0400)
tree9144acd830d42e1ca33a2ab09fe4d700e1d10b1e
parentfe509ee2373078435fb8c4f68eebd2740c4e388f
qemu-socket: Polish errors for connect() and listen() failure

connect() doesn't "connect to socket", it connects a socket to an
address and, if it's of type SOCK_STREAM, initiates a connection.
Scratch "to".

listen() does "set socket to listening mode", but it sounds awkward.
Change to "listen on socket".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
include/qapi/qmp/qerror.h