[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xentop: build fix for *bsd.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1193146970 -3600
# Node ID 47ad9f54e74bb7ef1d0861453dbf199f58b5e3e8
# Parent  8f33d2c6c67c1b9d647280c2ba8ce6f907583871
xentop: build fix for *bsd.
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/xenstat/xentop/xentop.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8f33d2c6c67c -r 47ad9f54e74b tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Tue Oct 23 14:42:06 2007 +0100
+++ b/tools/xenstat/xentop/xentop.c     Tue Oct 23 14:42:50 2007 +0100
@@ -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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.