From 27143a445b99a283b3c6529738ba17aa0271746e Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Mon, 15 Aug 2011 11:17:36 -0500 Subject: char: rename qemu_chr_open() -> qemu_chr_new() Signed-off-by: Anthony Liguori --- net/slirp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') diff --git a/net/slirp.c b/net/slirp.c index ec7433fea..3b39d2118 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -616,7 +616,7 @@ static int slirp_guestfwd(SlirpState *s, const char *config_str, fwd = g_malloc(sizeof(struct GuestFwd)); snprintf(buf, sizeof(buf), "guestfwd.tcp.%d", port); - fwd->hd = qemu_chr_open(buf, p, NULL); + fwd->hd = qemu_chr_new(buf, p, NULL); if (!fwd->hd) { error_report("could not open guest forwarding device '%s'", buf); g_free(fwd); -- cgit v1.2.3-65-gdbad