Module Name: src
Committed By: joerg
Date: Tue May 24 15:51:00 UTC 2011
Modified Files:
src/external/gpl2/lvm2/dist/lib/format_text: export.c
Log Message:
Fix printing of time_t
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
src/external/gpl2/lvm2/dist/lib/format_text/export.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/lvm2/dist/lib/format_text/export.c
diff -u src/external/gpl2/lvm2/dist/lib/format_text/export.c:1.1.1.3 src/external/gpl2/lvm2/dist/lib/format_text/export.c:1.2
--- src/external/gpl2/lvm2/dist/lib/format_text/export.c:1.1.1.3 Wed Dec 2 00:26:29 2009
+++ src/external/gpl2/lvm2/dist/lib/format_text/export.c Tue May 24 15:51:00 2011
@@ -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;
}