ia64/xen-unstable
changeset 830:c0eefee27220
bitkeeper revision 1.513 (3f8bd32enJosHd07EPUZKBgRuaErAw)
xen_log.c:
now compiles - still not tested
xen_log.c:
now compiles - still not tested
author | smh22@labyrinth.cl.cam.ac.uk |
---|---|
date | Tue Oct 14 10:42:54 2003 +0000 (2003-10-14) |
parents | bfbe6d080b40 |
children | e7184dc0e284 682f15023c2b |
files | tools/misc/xen_log.c |
line diff
1.1 --- a/tools/misc/xen_log.c Tue Oct 14 10:25:46 2003 +0000 1.2 +++ b/tools/misc/xen_log.c Tue Oct 14 10:42:54 2003 +0000 1.3 @@ -80,15 +80,15 @@ void process() 1.4 curport = ntohs(from.sin_port); 1.5 if(lastport != curport) { 1.6 op.u.getdominfo.domain = (int)curport; 1.7 - if ( do_dom0_op(&op) < 0 ) 1.8 + if ( do_dom0_op(&op) < 0 ) { 1.9 log("Error resolving domain name\n"); 1.10 } else { 1.11 lastport = curport; 1.12 } 1.13 } 1.14 1.15 - sprintf(obuf, "[%s] %s", op.u.getdominfo.name, curport, buf); 1.16 - log(obuf); 1.17 + sprintf(obuf, "[%s] %s", op.u.getdominfo.name, buf); 1.18 + log(obuf); 1.19 1.20 fromlen = sizeof(from); 1.21 }