From e22d13112400592b98844fc0b3c4e72a7f39298f Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 17 Aug 2011 23:22:41 +0200 Subject: [PATCH] fix broken perm format --- sys/src/libc/9sys/fcallfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/libc/9sys/fcallfmt.c b/sys/src/libc/9sys/fcallfmt.c index c5a8af614..42666ada0 100644 --- a/sys/src/libc/9sys/fcallfmt.c +++ b/sys/src/libc/9sys/fcallfmt.c @@ -78,7 +78,7 @@ fcallfmt(Fmt *fmt) 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,