Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/lvm2/dist/lib/format_text Fix printing of time_t
details: https://anonhg.NetBSD.org/src/rev/edb62c586def
branches: trunk
changeset: 765358:edb62c586def
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 15:51:00 2011 +0000
description:
Fix printing of time_t
diffstat:
external/gpl2/lvm2/dist/lib/format_text/export.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 26b541da3f7a -r edb62c586def external/gpl2/lvm2/dist/lib/format_text/export.c
--- a/external/gpl2/lvm2/dist/lib/format_text/export.c Tue May 24 15:44:28 2011 +0000
+++ b/external/gpl2/lvm2/dist/lib/format_text/export.c Tue May 24 15:51:00 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: export.c,v 1.1.1.3 2009/12/02 00:26:29 haad Exp $ */
+/* $NetBSD: export.c,v 1.2 2011/05/24 15:51:00 joerg Exp $ */
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
@@ -346,7 +346,7 @@
outf(f, "creation_host = \"%s\"\t# %s %s %s %s %s", _utsname.nodename,
_utsname.sysname, _utsname.nodename, _utsname.release,
_utsname.version, _utsname.machine);
- outf(f, "creation_time = %lu\t# %s", t, ctime(&t));
+ outf(f, "creation_time = %jd\t# %s", (intmax_t)t, ctime(&t));
return 1;
}
Home |
Main Index |
Thread Index |
Old Index