X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-tool.c;h=f5412f36b7b5295881ebdc117895559b84bf1b4f;hb=781dee0835fbea52f57389893d50b2cf9f60e41f;hp=e83b49a129f24f7c41c61e4fd21ff31c6b155654;hpb=e49190c4933bdb4219c7fe5fb84768a076a1ff75;p=openvswitch diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c index e83b49a1..f5412f36 100644 --- a/ovsdb/ovsdb-tool.c +++ b/ovsdb/ovsdb-tool.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011, 2012 Nicira Networks. + * Copyright (c) 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -513,7 +513,7 @@ do_show_log(int argc, char *argv[]) time_t t = json_integer(date); char s[128]; - strftime(s, sizeof s, "%Y-%m-%d %H:%M:%S", localtime(&t)); + strftime(s, sizeof s, "%Y-%m-%d %H:%M:%S", gmtime(&t)); printf(" %s", s); }