From fa5efccb2a063f1dee46ed3ebd9192b318009f65 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Mon, 15 Aug 2011 11:17:30 -0500 Subject: char: rename qemu_chr_read() -> qemu_chr_be_write() Signed-off-by: Anthony Liguori --- hw/msmouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/msmouse.c') diff --git a/hw/msmouse.c b/hw/msmouse.c index b611c2f236..c3b57ea31c 100644 --- a/hw/msmouse.c +++ b/hw/msmouse.c @@ -50,7 +50,7 @@ static void msmouse_event(void *opaque, /* We always send the packet of, so that we do not have to keep track of previous state of the middle button. This can potentially confuse some very old drivers for two button mice though. */ - qemu_chr_read(chr, bytes, 4); + qemu_chr_be_write(chr, bytes, 4); } static int msmouse_chr_write (struct CharDriverState *s, const uint8_t *buf, int len) -- cgit v1.2.3