aboutsummaryrefslogtreecommitdiff
path: root/src/mlibc/stdlib/htoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlibc/stdlib/htoa.c')
-rw-r--r--src/mlibc/stdlib/htoa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mlibc/stdlib/htoa.c b/src/mlibc/stdlib/htoa.c
index 5290c74..ab20260 100644
--- a/src/mlibc/stdlib/htoa.c
+++ b/src/mlibc/stdlib/htoa.c
@@ -4,7 +4,8 @@
static const char __HTOA_TABLE[] = "0123456789ABCDEF";
-char *htoa(uint32_t n) {
+char *htoa(uint32_t n)
+{
char *ret = kmalloc(10);
int i = 0;