Remove trailing ':' from timestamp

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
This commit is contained in:
Daniel P. Berrange 2010-11-22 13:25:36 +00:00
parent 04bd0360f3
commit dbf405bf04

View File

@ -2930,7 +2930,7 @@ virTimestamp(void)
strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S", &time_info);
if (virAsprintf(&timestamp, "%s.%03d: ",
if (virAsprintf(&timestamp, "%s.%03d",
timestr, (int) cur_time.tv_usec / 1000) < 0) {
return NULL;
}