From 8888cbefb1ee469df182a4327ca5a70ebb55c998 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 16 Jan 2009 10:19:10 +0000 Subject: [PATCH] Fix qemu_send_packet KVM's qemu_send_packet() has a return value, qemu's doesn't. Signed-off-by: Mark McLoughlin Signed-off-by: Avi Kivity --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.c b/net.c index f9b239fdcc..9841197c36 100644 --- a/net.c +++ b/net.c @@ -391,7 +391,7 @@ int qemu_send_packet(VLANClientState *vc1, const uint8_t *buf, int size) int ret = -EAGAIN; if (vc1->link_down) - return; + return 0; #ifdef DEBUG_NET printf("vlan %d send:\n", vlan->id); -- 2.11.4.GIT