From 2c34d1a1a491861b68b76d6dbb449771d1cf114c Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 8 Dec 2000 19:26:57 +0000 Subject: mdk-stage1 can now run the Install from CDROM --- mdk-stage1/log.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mdk-stage1/log.c') diff --git a/mdk-stage1/log.c b/mdk-stage1/log.c index 7536d0a08..173ebe520 100644 --- a/mdk-stage1/log.c +++ b/mdk-stage1/log.c @@ -27,6 +27,7 @@ #include #include #include +#include "stage1.h" #include "log.h" @@ -68,9 +69,9 @@ void log_perror(char *msg) } -void open_log(int testing) +void open_log(void) { - if (!testing) { + if (!IS_TESTING) { logfile = fopen("/dev/tty3", "w"); if (!logfile) logfile = fopen("/tmp/install.log", "a"); @@ -81,6 +82,8 @@ void open_log(int testing) void close_log(void) { - if (logfile) + if (logfile) { + log_message("stage1: disconnecting life support systems"); fclose(logfile); + } } -- cgit v1.2.1