diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-11 19:04:26 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-11 19:04:26 -0400 |
commit | f466364b8a3858e7b3f19258d142851cb4a7e6d6 (patch) | |
tree | a22819dc585c44a6dd0cdd5c6856420443a031eb /device/uart.c | |
parent | c4f8ef91f18d854a4ede7a94e95b2eab898d6963 (diff) | |
download | jove-kernel-main.tar.gz jove-kernel-main.tar.bz2 jove-kernel-main.zip |
remove _initData, replace with enum indexesmain
Diffstat (limited to 'device/uart.c')
-rw-r--r-- | device/uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device/uart.c b/device/uart.c index 5c65207..0a8945d 100644 --- a/device/uart.c +++ b/device/uart.c @@ -3,9 +3,9 @@ #include "object.h" void -uart_write(objdir_t *dir, path_byte_t *path, const char *s, size_t w) +uart_write(objdir_t *dir, size_t pathw, path_byte_t *path, const char *s, size_t w) { - objdir_entry_t *entry = objdir_seek(dir, path, 1); + objdir_entry_t *entry = objdir_seek(dir, path, pathw); if(entry == NULL || entry->type != KO_DEV_UART) return; #ifdef ENABLE_PORTIO_UART |