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-3.2-testing] xenconsoled: Use ISO8601 date stamp fo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] xenconsoled: Use ISO8601 date stamp format.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 07:12:12 -0800
Delivery-date: Fri, 22 Feb 2008 07:33:47 -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 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

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