diff options
Diffstat (limited to 'core/include/fs.h')
-rw-r--r-- | core/include/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/fs.h b/core/include/fs.h index c5cea6f1..f0fe5347 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -5,6 +5,7 @@ #include <stdbool.h> #include <string.h> #include <com32.h> +#include <stdio.h> #include "core.h" #include "disk.h" @@ -153,6 +154,7 @@ static inline void free_inode(struct inode * inode) static inline void malloc_error(char *obj) { printf("Out of memory: can't allocate memory for %s\n", obj); + kaboom(); } /* |