From: Ben Gras Date: Thu, 20 Oct 2005 09:29:18 +0000 (+0000) Subject: Don't print KMESSages, they are sent to tty separately. X-Git-Tag: v3.1.2a~605 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=ad2bf251a38d06e3c5c8677dc792f44e322c22a0;p=minix.git Don't print KMESSages, they are sent to tty separately. --- diff --git a/drivers/log/diag.c b/drivers/log/diag.c index 7158678b7..b269458c0 100644 --- a/drivers/log/diag.c +++ b/drivers/log/diag.c @@ -68,9 +68,8 @@ message *m; /* notification message */ r ++; i ++; } - /* Now terminate the new message and print it. */ + /* Now terminate the new message and save it in the log. */ print_buf[i] = 0; - printf("%s", print_buf); log_append(print_buf, i); }