summaryrefslogtreecommitdiff
path: root/extras/mknastyfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mknastyfs.c')
-rw-r--r--extras/mknastyfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/mknastyfs.c b/extras/mknastyfs.c
index ecc6b8a..c65759c 100644
--- a/extras/mknastyfs.c
+++ b/extras/mknastyfs.c
@@ -49,7 +49,7 @@ static sqfs_inode_generic_t *create_file_inode(sqfs_id_table_t *idtbl,
return inode;
}
-int main(void)
+int main(int argc, char **argv)
{
sqfs_meta_writer_t *inode_m, *dir_m;
int ret, status = EXIT_FAILURE;
@@ -63,6 +63,7 @@ int main(void)
sqfs_super_t super;
sqfs_file_t *file;
sqfs_u32 offset;
+ (void)argc; (void)argv;
/* get a file object referring to our destination file */
file = sqfs_open_file("nasty.sqfs", 0);