From 2eaec0bc67baffbabdfd1436cf3f7d3adae435ab Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 23 Oct 2007 14:42:50 +0100 Subject: xentop: build fix for *bsd. Signed-off-by: Christoph Egger --- tools/xenstat/xentop/xentop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/xenstat') diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index bc703ffae2..5e1f5ef8d1 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -758,7 +758,7 @@ void do_summary(void) /* Print program name, current time, and number of domains */ strftime(time_str, TIME_STR_LEN, TIME_STR_FORMAT, - localtime(&curtime.tv_sec)); + localtime((const time_t *)&curtime.tv_sec)); num_domains = xenstat_node_num_domains(cur_node); ver_str = xenstat_node_xen_version(cur_node); print("xentop - %s Xen %s\n", time_str, ver_str); -- cgit v1.2.3