ref: e22d13112400592b98844fc0b3c4e72a7f39298f
parent: f682600440d21589cae2fba1d715b8552bc78d0d
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Wed Aug 17 19:22:41 EDT 2011
fix broken perm format
--- a/sys/src/libc/9sys/fcallfmt.c
+++ b/sys/src/libc/9sys/fcallfmt.c
@@ -78,7 +78,7 @@
f->qid.path, f->qid.vers, qidtype(tmp, f->qid.type), f->iounit);
break;
case Tcreate: /* 114 */
- seprint(buf, e, "Tcreate tag %ud fid %ud name %s perm %M mode %d", tag, fid, f->name, (ulong)f->perm, f->mode);
+ seprint(buf, e, "Tcreate tag %ud fid %ud name %s perm 0%luo mode %d", tag, fid, f->name, (ulong)f->perm, f->mode);
break;
case Rcreate:
seprint(buf, e, "Rcreate tag %ud qid " QIDFMT " iounit %ud ", tag,
--
⑨