[libvirt] [PATCH] Remove trailing ':' from timestamp
Eric Blake
eblake at redhat.com
Mon Nov 22 18:59:02 UTC 2010
On 11/22/2010 07:10 AM, Daniel P. Berrange wrote:
> The QEMU logger appends a ':' to the timestamp when it deems
> it neccessary, so the virTimestamp API should not duplicate
> this
>
> * src/util/util.c: Remove trailing ':' from timestamp
> ---
> src/util/util.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/util/util.c b/src/util/util.c
> index a0849e1..a2582aa 100644
> --- a/src/util/util.c
> +++ b/src/util/util.c
> @@ -2930,7 +2930,7 @@ virTimestamp(void)
>
> strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S", &time_info);
>
> - if (virAsprintf(×tamp, "%s.%03d: ",
> + if (virAsprintf(×tamp, "%s.%03d",
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101122/e07a87a4/attachment-0001.sig>
More information about the libvir-list
mailing list