mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-16 18:25:08 -06:00
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:
parent
04bd0360f3
commit
dbf405bf04
@ -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",
|
||||
timestr, (int) cur_time.tv_usec / 1000) < 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user