git: 9front

Download patch

ref: 8a6f97b520e9829306bbf51131ad987ef2558f04
parent: 398031813bf202357bc7d0f8d78bd8cba71269c5
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,
--