[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xenconsoled: Use ISO8601 date stamp format.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1203069094 0 # Node ID 8210e430be2bd42037c2e7014eb5c3d525a1b90b # Parent 55ae3b66b1b6e9039f13d9eec0b98864ca87ba6f xenconsoled: Use ISO8601 date stamp format. Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> --- tools/console/daemon/io.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 55ae3b66b1b6 -r 8210e430be2b tools/console/daemon/io.c --- a/tools/console/daemon/io.c Thu Feb 14 11:24:49 2008 +0000 +++ b/tools/console/daemon/io.c Fri Feb 15 09:51:34 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |