summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-28 18:48:26 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-28 18:48:26 +0000
commitacdb61efe5ca2dcaeeced7ef2bda4afa638408fc (patch)
treee1d4bde71e045d4a754e8e8566a0fe1cffff6c16 /mdk-stage1
parent065886a8fcd30f7cb84c1204b1e95e0f58abba12 (diff)
downloaddrakx-acdb61efe5ca2dcaeeced7ef2bda4afa638408fc.tar
drakx-acdb61efe5ca2dcaeeced7ef2bda4afa638408fc.tar.gz
drakx-acdb61efe5ca2dcaeeced7ef2bda4afa638408fc.tar.bz2
drakx-acdb61efe5ca2dcaeeced7ef2bda4afa638408fc.tar.xz
drakx-acdb61efe5ca2dcaeeced7ef2bda4afa638408fc.zip
log "killed shell" message on tty3
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/stage1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index 42604ac79..6b7bb0ab5 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -370,7 +370,7 @@ void finish_preparing(void)
int fd;
kill(shell_pid, 9);
fd = open("/dev/tty2", O_RDWR);
- write(fd, "Killed\n", 7);
+ log_message("killed shell");
close(fd);
}
#endif