shithub: riscv

Download patch

ref: ad26dc48a6dc05da02f96e5f1e7b82de58ff5b2c
parent: b33eb658e27dbd481de478d53e5467a03b05cabc
author: cinap_lenrek <[email protected]>
date: Sun Jul 5 18:15:02 EDT 2020

imap4d: fix missing return in %δ format of Dfmt()

--- a/sys/src/cmd/upas/imap4d/print.c
+++ b/sys/src/cmd/upas/imap4d/print.c
@@ -124,6 +124,6 @@
 		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);
 }