summaryrefslogtreecommitdiff
path: root/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs.h')
-rw-r--r--fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs.h b/fs.h
index de81e81..04e0b67 100644
--- a/fs.h
+++ b/fs.h
@@ -9,7 +9,7 @@ struct superblock{
uint ninodes;
};
-#define NADDRS NDIRECT+1
+#define NADDRS (NDIRECT+1)
#define NDIRECT 12
#define INDIRECT 12
#define NINDIRECT (BSIZE / sizeof(uint))