From f5f0f5ddae199121daebcd2213aabd81686cc074 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Tue, 24 Dec 2019 22:31:22 -0500 Subject: start of 0.0.9 branch, using multiboot this time --- src/kernel/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/files.c') diff --git a/src/kernel/files.c b/src/kernel/files.c index c17edd4..b42638a 100644 --- a/src/kernel/files.c +++ b/src/kernel/files.c @@ -24,7 +24,7 @@ uint16_t open_file(uint8_t *name) { } void close_file(uint16_t handle) { - FILE_HANDLES[handle].first_sector = 0; + file_table[handle].first_sector = 0; } void read_file(uint16_t handle, uint32_t length, void *buffer) { -- cgit v1.2.3