diff options
Diffstat (limited to 'src/mlibc/stdlib/itoa.c')
-rw-r--r-- | src/mlibc/stdlib/itoa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mlibc/stdlib/itoa.c b/src/mlibc/stdlib/itoa.c index 8c557ab..3c8ee05 100644 --- a/src/mlibc/stdlib/itoa.c +++ b/src/mlibc/stdlib/itoa.c @@ -6,7 +6,8 @@ static const char __ITOA_TABLE[] = "0123456789"; -char *itoa(int n) { +char *itoa(int n) +{ if (paging_enabled == 0) return "0"; // kmalloc isn't available |