diff options
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 |