summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-02-07 08:02:36 -0800
committerMichael Forney <mforney@mforney.org>2021-02-07 08:02:36 -0800
commit827bf1b7da635b1018cbcc515f0ce2c074337629 (patch)
tree7b82dddeb803c1f328d83b8af20baa598cf1d33e
parentd5f95143041c34865665b77f2dd60b5d39e5cd91 (diff)
downloadplan9front-827bf1b7da635b1018cbcc515f0ce2c074337629.tar.xz
[9front] upas/vf: install %τ format specifier
upas/vf was converted to use tmdate, but the formatter was never installed. This caused it to send attachments to validateattachment with header `From virusfilter %τ%`, which always failed since upas/fs would just skip over the message.
-rw-r--r--sys/src/cmd/upas/vf/vf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/upas/vf/vf.c b/sys/src/cmd/upas/vf/vf.c
index 2355db5b8..752d89f4c 100644
--- a/sys/src/cmd/upas/vf/vf.c
+++ b/sys/src/cmd/upas/vf/vf.c
@@ -140,6 +140,8 @@ main(int argc, char **argv)
if(argc)
usage();
+ tmfmtinstall();
+
Binit(&in, 0, OREAD);
Binit(&out, 1, OWRITE);