summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 566ea55..cd0d0f5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -207,7 +207,8 @@ static void create_archive(char **paths, struct params p) {
return;
}
- struct header *h = create_header();
+ struct header *h = create_header();
+ struct table_entry *root = calloc(sizeof(struct table_entry), 1);
dump_header(fp, h);
}