* [9front] upas/fs: add missing newline to a debug print
@ 2021-10-09 10:53 risto.salminen
2021-10-09 14:21 ` ori
0 siblings, 1 reply; 2+ messages in thread
From: risto.salminen @ 2021-10-09 10:53 UTC (permalink / raw)
To: 9front
Noticed while doing some debugging.
diff a8ad3fb3d00551bad97e7b10a9666821fe4b601a uncommitted
--- a/sys/src/cmd/upas/fs/cache.c
+++ b/sys/src/cmd/upas/fs/cache.c
@@ -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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9front] upas/fs: add missing newline to a debug print
2021-10-09 10:53 [9front] upas/fs: add missing newline to a debug print risto.salminen
@ 2021-10-09 14:21 ` ori
0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2021-10-09 14:21 UTC (permalink / raw)
To: 9front
Quoth risto.salminen@gmx.com:
> Noticed while doing some debugging.
>
> diff a8ad3fb3d00551bad97e7b10a9666821fe4b601a uncommitted
> --- a/sys/src/cmd/upas/fs/cache.c
> +++ b/sys/src/cmd/upas/fs/cache.c
> @@ -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;
>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-09 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-09 10:53 [9front] upas/fs: add missing newline to a debug print risto.salminen
2021-10-09 14:21 ` ori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).