summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkfs.c b/mkfs.c
index b367f61..32bf4e7 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -5,7 +5,6 @@
#include <fcntl.h>
#include <assert.h>
#include "types.h"
-#include "param.h"
#include "fs.h"
int nblocks = 995;
@@ -55,7 +54,7 @@ int
main(int argc, char *argv[])
{
int i, cc, fd;
- uint bn, rootino, inum, off;
+ uint rootino, inum, off;
struct dirent de;
char buf[512];
struct dinode din;