summaryrefslogtreecommitdiff
path: root/src/user/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/bootstrap')
-rw-r--r--src/user/bootstrap/tar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user/bootstrap/tar.c b/src/user/bootstrap/tar.c
index 2025ed1..150a993 100644
--- a/src/user/bootstrap/tar.c
+++ b/src/user/bootstrap/tar.c
@@ -61,7 +61,8 @@ static void tar_read(struct fs_wait_response *res, void *base, size_t base_len)
size_t meta_len;
int size;
- static char buf[BUF_SIZE]; // TODO reuse a single buffer
+ static char buf[BUF_SIZE];
+ // TODO reuse a single buffer for both tar_driver and tar_read
if (meta == root_fakemeta) type = '5'; /* see comment in tar_open() */