ia64/xen-unstable

changeset 4394:53caafa86fde

bitkeeper revision 1.1236.1.167 (424baeff58gP1oFB2UAaXGjoE5zTmw)

Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
author kaf24@firebug.cl.cam.ac.uk
date Thu Mar 31 08:04:15 2005 +0000 (2005-03-31)
parents 8b2f70175ca1 4a09c134b726
children 6a4d065f7256
files tools/libxutil/sys_net.c
line diff
     1.1 --- a/tools/libxutil/sys_net.c	Thu Mar 31 07:54:16 2005 +0000
     1.2 +++ b/tools/libxutil/sys_net.c	Thu Mar 31 08:04:15 2005 +0000
     1.3 @@ -310,7 +310,7 @@ char *mac_ntoa(const unsigned char *mac)
     1.4      static char buf[MAC_LENGTH + 1];
     1.5      int buf_n = sizeof(buf);
     1.6  
     1.7 -    memset(buf, buf_n, 0);
     1.8 +    memset(buf, 0, buf_n);
     1.9      snprintf(buf, buf_n, "%02x:%02x:%02x:%02x:%02x:%02x",
    1.10               mac[0], mac[1], mac[2],
    1.11               mac[3], mac[4], mac[5]);