ref: f2bc53b2ebb76c2d71e2c3ddef978cdc453b38b7
parent: cc710d3fdfc54dda5a0708eb66663445160e8bb7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 9 07:36:42 EST 2025
hgfs: don't put newline in sysfatal()
--- a/sys/src/cmd/hgfs/fs.c
+++ b/sys/src/cmd/hgfs/fs.c
@@ -793,10 +793,10 @@
snprint(buf, sizeof(buf), "%s/.hg/store/00changelog", workdir);
if(revlogopen(&changelog, buf, OREAD) < 0)
- sysfatal("can't open changelog: %r\n");
+ sysfatal("can't open changelog: %r");
snprint(buf, sizeof(buf), "%s/.hg/store/00manifest", workdir);
if(revlogopen(&manifest, buf, OREAD) < 0)
- sysfatal("can't open menifest: %r\n");
+ sysfatal("can't open menifest: %r");
postmountsrv(&fs, srv, mtpt, MREPL);
--
⑨