From: Ben Gras Date: Wed, 27 Jul 2005 18:49:25 +0000 (+0000) Subject: Removed debugging statements from log.c; changed PRINTF_PROC in config.h X-Git-Tag: v3.1.0~502 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/jquery.js?a=commitdiff_plain;h=62c08df4825e31934bb92896e9749799e5063128;p=minix.git Removed debugging statements from log.c; changed PRINTF_PROC in config.h back to LOG_PROC_NR --- diff --git a/drivers/log/log.c b/drivers/log/log.c index 7f9d0ca79..fb890af90 100644 --- a/drivers/log/log.c +++ b/drivers/log/log.c @@ -354,8 +354,6 @@ PRIVATE void do_status(message *m_ptr) int d, nr = 0; message m; - printf("do_status..\n"); - /* Caller has requested pending status information, which currently * can be pending available select()s, or REVIVE events. One message * is returned for every event, or DEV_NO_STATUS if no (more) events @@ -431,7 +429,6 @@ message *m_ptr; break; } case DEV_STATUS: { - printf("status..\n"); do_status(m_ptr); r = EDONTREPLY; break; diff --git a/include/minix/config.h b/include/minix/config.h index b6709d723..03e288b88 100755 --- a/include/minix/config.h +++ b/include/minix/config.h @@ -106,7 +106,7 @@ * Directly sending it to TTY only displays the output. Sending it to the * log driver will cause the diagnostics to be buffered and displayed. */ -#define PRINTF_PROC TTY /* TTY or LOG_PROC_NR */ +#define PRINTF_PROC LOG_PROC_NR /* TTY or LOG_PROC_NR */ /* NR_CONS, NR_RS_LINES, and NR_PTYS determine the number of terminals the * system can handle.