]> git.proxmox.com Git - mirror_qemu.git/commit - io/channel-socket.c
io: fix sign of errno value passed to error report
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 11 Jan 2016 12:59:44 +0000 (12:59 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 19 Jan 2016 14:03:27 +0000 (14:03 +0000)
commitcc75a50c68ccea2068e76fc59e5492899abd3bdb
tree8f22092a51d37c3d01c3dd6d9d016683720987d3
parent3db34bf64ab4f8797565dd8750003156c32b301d
io: fix sign of errno value passed to error report

When reporting the number of FDs has been exceeded, pass
EINVAL to error_setg_errno, rather than -EINVAL.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
io/channel-socket.c