diff options
author | Marvin Borner | 2020-04-26 20:12:05 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-26 20:12:05 +0200 |
commit | 31f671f2137bc09e62de09142bea232c1975c76b (patch) | |
tree | 60729693e4a70d2b3d449ed396ba860d3fa33071 /src/kernel/lib/stdlib | |
parent | d3047efc1085d3e2f5524f629e55dc456a2f5065 (diff) |
Complete rewrite of paging and allocation libs
-> This was REALLY needed.
Diffstat (limited to 'src/kernel/lib/stdlib')
-rw-r--r-- | src/kernel/lib/stdlib/itoa.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/kernel/lib/stdlib/itoa.c b/src/kernel/lib/stdlib/itoa.c index 94c3351..e6300d9 100644 --- a/src/kernel/lib/stdlib/itoa.c +++ b/src/kernel/lib/stdlib/itoa.c @@ -8,9 +8,6 @@ static const char ITOA_TABLE[] = "0123456789"; char *itoa(int n) { - if (paging_enabled == 0) - return "0"; // kmalloc isn't available - if (!n) { char *ret = (char *)kmalloc(2); ret[0] = '0'; @@ -44,4 +41,4 @@ char *itoa(int n) strinv(ret); return ret; -}
\ No newline at end of file +} |