shithub: plan9front

Download patch

ref: d280f411f68cebc5aac71ce8b7cbcfb5b22f1a7c
parent: a8ad3fb3d00551bad97e7b10a9666821fe4b601a
author: risto.salminen@gmx.com <risto.salminen@gmx.com>
date: Sat Oct 9 06:53:39 EDT 2021

upas/fs: add missing newline to a debug print
Noticed while doing some debugging.


--- a/sys/src/cmd/upas/fs/cache.c	Wed Oct  6 05:19:58 2021
+++ b/sys/src/cmd/upas/fs/cache.c	Sat Oct  9 06:53:39 2021
@@ -353,7 +353,7 @@
 	if(mb->fetch == nil || m->cstate&Cbody)
 		return 0;
 	o = m->end - m->start;
-	dprint("cachebody %lud [%D] %lud %lud %s", m->id, m->fileid, o, m->size, cstate(m));
+	dprint("cachebody %lud [%D] %lud %lud %s\n", m->id, m->fileid, o, m->size, cstate(m));
 	if(o < m->size)
 	if(fetch(mb, m, o, m->size - o) < 0)
 		return -1;