aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/io')
-rw-r--r--src/kernel/io/io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/io/io.c b/src/kernel/io/io.c
index 1ee76a0..3abbb18 100644
--- a/src/kernel/io/io.c
+++ b/src/kernel/io/io.c
@@ -90,6 +90,5 @@ void serial_write_hex(int n) {
}
void serial_write_dec(int n) {
- char *text = itoa(n);
- serial_write(text);
+ serial_write(itoa(n));
}