From 51c0ccd303d48673472c9f12524185e04a8a732b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 30 Jul 2014 14:20:07 +0100 Subject: missed updates to calls to ztrftime() --- Src/Modules/datetime.c | 2 +- Src/Modules/stat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Modules') diff --git a/Src/Modules/datetime.c b/Src/Modules/datetime.c index a4e7eca86..00ebd2b49 100644 --- a/Src/Modules/datetime.c +++ b/Src/Modules/datetime.c @@ -130,7 +130,7 @@ bin_strftime(char *nam, char **argv, Options ops, UNUSED(int func)) buffer = zalloc(bufsize); for (x=0; x < 4; x++) { - if (ztrftime(buffer, bufsize, argv[0], t) >= 0) + if (ztrftime(buffer, bufsize, argv[0], t, 0L) >= 0) break; buffer = zrealloc(buffer, bufsize *= 2); } diff --git a/Src/Modules/stat.c b/Src/Modules/stat.c index edae0841e..6fc53894c 100644 --- a/Src/Modules/stat.c +++ b/Src/Modules/stat.c @@ -198,7 +198,7 @@ stattimeprint(time_t tim, char *outbuf, int flags) if (flags & STF_STRING) { char *oend = outbuf + strlen(outbuf); ztrftime(oend, 40, timefmt, (flags & STF_GMT) ? gmtime(&tim) : - localtime(&tim)); + localtime(&tim), 0L); if (flags & STF_RAW) strcat(oend, ")"); } -- cgit 1.4.1