WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xenconsoled: Use ISO8601 date stamp forma

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xenconsoled: Use ISO8601 date stamp format.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2008 06:00:17 -0800
Delivery-date: Mon, 18 Feb 2008 06:01:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xenconsoled: Use ISO8601 date stamp format., Xen patchbot-unstable <=