提交 dbf405bf 编写于 作者: D Daniel P. Berrange

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
上级 04bd0360
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册