From 1e4a254674f668839e5de273916024c16814b045 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 13 Sep 2020 03:19:57 -0400 Subject: (basic, not much tested) keyboard, better panic --- src/kernel/drive.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/drive.c') diff --git a/src/kernel/drive.c b/src/kernel/drive.c index c3aa5b2..731088c 100644 --- a/src/kernel/drive.c +++ b/src/kernel/drive.c @@ -15,15 +15,15 @@ static file_id_t unknown_get_file(const struct drive *d, const char *path) { } static void unknown_free_file(const struct drive *d, file_id_t fid) { - panic("Free file called on unknown file system"); + PANIC("Free file called on unknown file system."); } static void unknown_load_sector(const struct drive *d, file_id_t fid, uint32_t sector, void *at) { - panic("Load sector called on unknown file system"); + PANIC("Load sector called on unknown file system."); } static uint32_t unknown_get_file_length(const struct drive *d, file_id_t fid) { - panic("Get file length called on unknown file system"); + PANIC("Get file length called on unknown file system."); } __attribute__ ((const)) -- cgit v1.2.3