aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/io
diff options
context:
space:
mode:
authorMarvin Borner2019-11-23 01:02:19 +0100
committerMarvin Borner2019-11-23 01:02:19 +0100
commit945d1c9eb7a6520429ebf2f988ac6cc1d12ec75d (patch)
tree04907ea20b6965b610fa7d01b5f63787a7b37221 /src/kernel/io
parent45d9495e77dba212551ae9bc8e09b51e9ed6d324 (diff)
Fixed almost every vesa memory bug
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));
}