osdep.c: Fix accept4 fallback
commit347ed55cd109864b02dd29bb7e6cda1622e8019e
authorKevin Wolf <kwolf@redhat.com>
Wed, 13 Jan 2010 15:20:56 +0000 (13 16:20 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 13 Jan 2010 23:14:15 +0000 (13 17:14 -0600)
treebb0efc17389284f6102b8065be88229f18e71aa0
parent3e85c6fd714af70e6a26096a08ee02c98b12ad51
osdep.c: Fix accept4 fallback

Commit 3a03bfa5 added a fallback in case the Linux kernel running qemu is older
than the kernel of the build system. Unfortunately, v1 was committed instead of
v2, so the code has a bug that was revealed in the review (checking for the
wrong error code).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
osdep.c