summaryrefslogtreecommitdiff
path: root/sys/src/lib9p/srv.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-11-01 11:10:08 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-11-01 11:10:08 +0000
commit464817ecf1a2d1486d7c265415e404a3c9298ee5 (patch)
tree00443438c75845cdf099080b29d90f95d93e9127 /sys/src/lib9p/srv.c
parentc7e25f71b4b4705e2dde15ceb497e4091b121c7e (diff)
lib9p: fix missing newlines in fprint()
Diffstat (limited to 'sys/src/lib9p/srv.c')
-rw-r--r--sys/src/lib9p/srv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/lib9p/srv.c b/sys/src/lib9p/srv.c
index 63475ab66..35c78e1ec 100644
--- a/sys/src/lib9p/srv.c
+++ b/sys/src/lib9p/srv.c
@@ -895,7 +895,7 @@ if(chatty9p)
qlock(&srv->wlock);
n = convS2M(&r->ofcall, srv->wbuf, srv->msize);
if(n <= 0){
- fprint(2, "msize = %d n = %d %F\n", srv->msize, n, &r->ofcall);
+ fprint(2, "%s: msize = %d n = %d %F\n", argv0, srv->msize, n, &r->ofcall);
abort();
}
assert(n > 2);
@@ -903,7 +903,7 @@ if(chatty9p)
closereq(removereq(r->pool, r->ifcall.tag));
m = write(srv->outfd, srv->wbuf, n);
if(m != n)
- fprint(2, "lib9p srv: write %d returned %d on fd %d: %r", n, m, srv->outfd);
+ fprint(2, "%s: 9p write %d returned %d on fd %d: %r\n", argv0, n, m, srv->outfd);
qunlock(&srv->wlock);
qlock(&r->lk); /* no one will add flushes now */