aboutsummaryrefslogtreecommitdiff
path: root/toys/mke2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/mke2fs.c')
-rw-r--r--toys/mke2fs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toys/mke2fs.c b/toys/mke2fs.c
index b102a2fe..5c1d8266 100644
--- a/toys/mke2fs.c
+++ b/toys/mke2fs.c
@@ -339,7 +339,7 @@ static void fill_inode(struct ext2_inode *in, struct dirtree *this)
// The first argument is the name of the file to create. If it already
// exists, that size will be used.
-int mke2fs_main(void)
+void mke2fs_main(void)
{
int i, temp;
off_t length;
@@ -561,8 +561,6 @@ int mke2fs_main(void)
// Write data blocks (TODO)
put_zeroes((end-start) * TT.blocksize);
}
-
- return 0;
}
// Scratch pad: