diff options
author | Gerrit Pape <pape@smarden.org> | 2014-07-30 13:59:55 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2014-07-30 14:09:48 +0000 |
commit | da3cf9c37ae46d7553e363a81fb14838b150c885 (patch) | |
tree | d3a60134855d5ed1b7c3301673759e25f89a6562 /src | |
parent | fea314879f34ebf1065ff3abfc9dc5e4ea746419 (diff) | |
download | runit-da3cf9c37ae46d7553e363a81fb14838b150c885.tar.gz runit-da3cf9c37ae46d7553e363a81fb14838b150c885.tar.xz runit-da3cf9c37ae46d7553e363a81fb14838b150c885.zip |
* fmt_ptime.c: 64 bits time_t fix for svlogd (tnx Jérémie
Courrèges-Anglas). Patch fetched from the OpenBSD ports tree http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/ports/sysutils/runit/patches/patch-src_fmt_ptime_c?rev=1.1&content-type=text/x-cvsweb-markup
Diffstat (limited to 'src')
-rw-r--r-- | src/fmt_ptime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt_ptime.c b/src/fmt_ptime.c index e538b35..2ab5725 100644 --- a/src/fmt_ptime.c +++ b/src/fmt_ptime.c @@ -4,7 +4,7 @@ unsigned int fmt_ptime2(char *s, struct taia *ta, char sep) { struct tm *t; - unsigned long u; + time_t u; if (ta->sec.x < 4611686018427387914ULL) return(0); /* impossible? */ u =ta->sec.x -4611686018427387914ULL; |