aboutsummaryrefslogtreecommitdiff
path: root/kernel/libk/printk.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/libk/printk.c')
-rw-r--r--kernel/libk/printk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/libk/printk.c b/kernel/libk/printk.c
index f3a5085..4983c50 100644
--- a/kernel/libk/printk.c
+++ b/kernel/libk/printk.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <drivers/serial.h>
#include <drivers/vga_text_buffer.h>
#include <libk/io.h>
@@ -24,4 +25,5 @@ void
printk(char *msg)
{
vga_text_buffer_write_string(msg);
+ serial_write_string(msg);
}