Re: [libvirt] [PATCH] virsh: time_t is not a long on FreeBSD

2011-05-13 Thread Daniel P. Berrange
On Fri, May 13, 2011 at 08:31:28AM +0200, Matthias Bolte wrote: > localtime_r expects time_t. > --- > tools/virsh.c |8 +--- > 1 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/tools/virsh.c b/tools/virsh.c > index 3baa015..93a504e 100644 > --- a/tools/virsh.c > +++ b/tool

[libvirt] [PATCH] virsh: time_t is not a long on FreeBSD

2011-05-12 Thread Matthias Bolte
localtime_r expects time_t. --- tools/virsh.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 3baa015..93a504e 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -10406,7 +10406,8 @@ cmdSnapshotList(vshControl *ctl, const vshCmd *c