direct-io.hg

changeset 11752:49d096ef3d76

[IOEMU] Fix argument to parse_host().
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@localhost.localdomain
date Fri Oct 13 10:58:29 2006 +0100 (2006-10-13)
parents f14a67a35bec
children d2f13c8b0819
files tools/ioemu/vl.c
line diff
     1.1 --- a/tools/ioemu/vl.c	Thu Oct 12 17:53:51 2006 +0100
     1.2 +++ b/tools/ioemu/vl.c	Fri Oct 13 10:58:29 2006 +0100
     1.3 @@ -2810,7 +2810,7 @@ int parse_host_port(struct sockaddr_in *
     1.4      if (buf[0] == '\0') {
     1.5          saddr->sin_addr.s_addr = 0;
     1.6      } else {
     1.7 -        if (parse_host(&saddr, buf) == -1)
     1.8 +        if (parse_host(saddr, buf) == -1)
     1.9              return -1;
    1.10      }
    1.11      port = strtol(p, (char **)&r, 0);