fix(vfs): Include lib/printf.h for snprintf declaration across ARM32 and core kernel

- Add #include <lib/printf.h> in fs/vfs.c, include/lib/string.h, and include/kernel/printk.h
- Ensure snprintf is always declared during freestanding compilation
This commit is contained in:
subhobhai943 committed 2026-08-18 20:16:10 +05:30
1 parent 52c81e3f8d
commit a8b0eae694
3 files changed
+3

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdarg.h>
#include <lib/printf.h>
// Linux-compatible log level prefixes
#define KERN_EMERG "\0010" /* system is unusable */