about summary refs log tree commit diff
path: root/Src/watch.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-07-30 12:10:15 +0100
committerPeter Stephenson <pws@zsh.org>2014-07-30 12:10:15 +0100
commitd3d091029367d7bf3c413330a2e93d720614d211 (patch)
treebcbf3a576dea7de1259114fc5e8df6270350fe16 /Src/watch.c
parent0442410c681b6b4e9ca0d25b22ed78e7989d5e29 (diff)
downloadzsh-d3d091029367d7bf3c413330a2e93d720614d211.tar.gz
zsh-d3d091029367d7bf3c413330a2e93d720614d211.tar.xz
zsh-d3d091029367d7bf3c413330a2e93d720614d211.zip
32918: add %. to ztrftime for use in prompts
Diffstat (limited to 'Src/watch.c')
-rw-r--r--Src/watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/watch.c b/Src/watch.c
index 5231579f8..8dea0b495 100644
--- a/Src/watch.c
+++ b/Src/watch.c
@@ -330,7 +330,7 @@ watchlog2(int inout, WATCH_STRUCT_UTMP *u, char *fmt, int prnt, int fini)
 		    }
 		    timet = getlogtime(u, inout);
 		    tm = localtime(&timet);
-		    ztrftime(buf, 40, fm2, tm);
+		    ztrftime(buf, 40, fm2, tm, 0L);
 		    printf("%s", (*buf == ' ') ? buf + 1 : buf);
 		    break;
 		case '%':