summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
authorrtm <rtm>2008-10-08 18:57:13 +0000
committerrtm <rtm>2008-10-08 18:57:13 +0000
commit2ce40d7088932b2875739379f54f7d74fc2e374c (patch)
treef288bbaf64ab6b081a40dbf5885effa89f530038 /mkfs.c
parentbe38c8413e1841dc8171555e8da66f3ca8a2e2bb (diff)
downloadxv6-labs-2ce40d7088932b2875739379f54f7d74fc2e374c.tar.gz
xv6-labs-2ce40d7088932b2875739379f54f7d74fc2e374c.tar.bz2
xv6-labs-2ce40d7088932b2875739379f54f7d74fc2e374c.zip
be clear what the root i-number is
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.c b/mkfs.c
index 4614f99..3046f9b 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -92,7 +92,7 @@ main(int argc, char *argv[])
wsect(1, &sb);
rootino = ialloc(T_DIR);
- assert(rootino == 1);
+ assert(rootino == ROOTINO);
bzero(&de, sizeof(de));
de.inum = xshort(rootino);