From dd6d5d0a410214f34906d42cc9f8ebb874e08945 Mon Sep 17 00:00:00 2001 From: amane-uehara <62415046+amane-uehara@users.noreply.github.com> Date: Sat, 12 Dec 2020 03:08:14 +0900 Subject: [PATCH] I fixed a typo in the comment. --- kernel/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/uart.c b/kernel/uart.c index 3c1dc34..f75fb3c 100644 --- a/kernel/uart.c +++ b/kernel/uart.c @@ -43,7 +43,7 @@ struct spinlock uart_tx_lock; #define UART_TX_BUF_SIZE 32 char uart_tx_buf[UART_TX_BUF_SIZE]; uint64 uart_tx_w; // write next to uart_tx_buf[uart_tx_w % UART_TX_BUF_SIZE] -uint64 uart_tx_r; // read next from uart_tx_buf[uar_tx_r % UART_TX_BUF_SIZE] +uint64 uart_tx_r; // read next from uart_tx_buf[uart_tx_r % UART_TX_BUF_SIZE] extern volatile int panicked; // from printf.c