diff options
Diffstat (limited to 'src/kernel/files.c')
-rw-r--r-- | src/kernel/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |