diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-07-05 22:15:02 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-07-05 22:15:02 +0200 |
commit | ad26dc48a6dc05da02f96e5f1e7b82de58ff5b2c (patch) | |
tree | a8b08bf21f3e8762e0a1e9c382c73893358de298 | |
parent | b33eb658e27dbd481de478d53e5467a03b05cabc (diff) | |
download | plan9front-ad26dc48a6dc05da02f96e5f1e7b82de58ff5b2c.tar.xz |
imap4d: fix missing return in %δ format of Dfmt()
-rw-r--r-- | sys/src/cmd/upas/imap4d/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/upas/imap4d/print.c b/sys/src/cmd/upas/imap4d/print.c index 8fd236f61..80580ad14 100644 --- a/sys/src/cmd/upas/imap4d/print.c +++ b/sys/src/cmd/upas/imap4d/print.c @@ -124,6 +124,6 @@ Dfmt(Fmt *f) tm->mday, mon[tm->mon], tm->year + 1900, tm->hour, tm->min, tm->sec, sgn, off); if(f->r == L'δ') - fmtprint(f, "%s", buf); + return fmtstrcpy(f, buf); return fmtprint(f, "%Z", buf); } |