Last active
April 22, 2023 08:29
-
-
Save knuxify/98bc12e16ccf46234b708c662d6963df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 21193e9b901569c5dd95f518c6782a608fc53e51 Mon Sep 17 00:00:00 2001 | |
From: knuxify <knuxify@gmail.com> | |
Date: Sun, 30 Jan 2022 16:19:43 +0100 | |
Subject: [PATCH] TEMP: kernel/printk: use printascii for early message | |
printing | |
--- | |
kernel/printk/printk.c | 2 ++ | |
1 file changed, 2 insertions(+) | |
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c | |
index a8d0a58deebc..97f49706e4a8 100644 | |
--- a/kernel/printk/printk.c | |
+++ b/kernel/printk/printk.c | |
@@ -2070,9 +2070,11 @@ static u16 printk_sprint(char *text, u16 size, int facility, | |
enum printk_info_flags *flags, const char *fmt, | |
va_list args) | |
{ | |
+ extern void printascii(const char *); | |
u16 text_len; | |
text_len = vscnprintf(text, size, fmt, args); | |
+ printascii(text); | |
/* Mark and strip a trailing newline. */ | |
if (text_len && text[text_len - 1] == '\n') { | |
-- | |
2.35.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment