diff options
author | Keir Fraser <keir@xensource.com> | 2007-10-23 14:42:50 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-10-23 14:42:50 +0100 |
commit | 2eaec0bc67baffbabdfd1436cf3f7d3adae435ab (patch) | |
tree | 81417eb7c4ead6490e917229ccff6332941156fa /tools/xenstat | |
parent | 093d6da712d5ad5a3f8158bb967cc119c2408aa1 (diff) | |
download | xen-2eaec0bc67baffbabdfd1436cf3f7d3adae435ab.tar.gz xen-2eaec0bc67baffbabdfd1436cf3f7d3adae435ab.tar.bz2 xen-2eaec0bc67baffbabdfd1436cf3f7d3adae435ab.zip |
xentop: build fix for *bsd.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/xenstat')
-rw-r--r-- | tools/xenstat/xentop/xentop.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |