ia64/xen-unstable

changeset 16199:47ad9f54e74b

xentop: build fix for *bsd.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir@xensource.com>
date Tue Oct 23 14:42:50 2007 +0100 (2007-10-23)
parents 8f33d2c6c67c
children 6a9b1626c82a
files tools/xenstat/xentop/xentop.c
line diff
     1.1 --- a/tools/xenstat/xentop/xentop.c	Tue Oct 23 14:42:06 2007 +0100
     1.2 +++ b/tools/xenstat/xentop/xentop.c	Tue Oct 23 14:42:50 2007 +0100
     1.3 @@ -758,7 +758,7 @@ void do_summary(void)
     1.4  
     1.5  	/* Print program name, current time, and number of domains */
     1.6  	strftime(time_str, TIME_STR_LEN, TIME_STR_FORMAT,
     1.7 -	         localtime(&curtime.tv_sec));
     1.8 +	         localtime((const time_t *)&curtime.tv_sec));
     1.9  	num_domains = xenstat_node_num_domains(cur_node);
    1.10  	ver_str = xenstat_node_xen_version(cur_node);
    1.11  	print("xentop - %s   Xen %s\n", time_str, ver_str);