# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203344161 0
# Node ID b15b81f186a805e7584840a244140916fc8223bf
# Parent 9b25888e8874e72debc94a8e46e5be724e235820
xenconsoled: Use ISO8601 date stamp format.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
xen-unstable changeset: 17052:8210e430be2bd42037c2e7014eb5c3d525a1b90b
xen-unstable date: Fri Feb 15 09:51:34 2008 +0000
---
tools/console/daemon/io.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 9b25888e8874 -r b15b81f186a8 tools/console/daemon/io.c
--- a/tools/console/daemon/io.c Mon Feb 18 14:15:38 2008 +0000
+++ b/tools/console/daemon/io.c Mon Feb 18 14:16:01 2008 +0000
@@ -122,7 +122,7 @@ static int write_with_timestamp(int fd,
char ts[32];
time_t now = time(NULL);
const struct tm *tmnow = localtime(&now);
- size_t tslen = strftime(ts, sizeof(ts), "[%d-%m-%Y %H:%M:%S] ", tmnow);
+ size_t tslen = strftime(ts, sizeof(ts), "[%Y-%m-%d %H:%M:%S] ", tmnow);
memcpy(buf, data, sz);
while (sz > 0 && buf[sz-1] == '\r')
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|