From ce00d1677d7a419b427e7f11963eee982a55a231 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 4 Aug 2022 23:06:57 +0200 Subject: do some simple TODOs, organize the rest; general code maintainance --- src/user/bootstrap/tar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/user/bootstrap') 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() */ -- cgit v1.2.3