Move kfile interface to the io/ directory.
[bertos.git] / bertos / cfg / kfile_debug.c
index e358c485ab6ce830d19337e22384d5c34b6f9c5a..40233a025527edf26dc575230b8bdbedd9cadae7 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "kfile_debug.h"
 
-#include <kern/kfile.h>
+#include <io/kfile.h>
 
 #include <string.h>
 
@@ -46,7 +46,7 @@ static size_t kfiledebug_write(struct KFile *_fd, const void *buf, size_t size)
 {
        KFILEDEBUG_CAST(_fd);
 
-       kprintf("%.*s", size, (const char *)buf);
+       kprintf("%.*s", (int)size, (const char *)buf);
 
        return size;
 }