summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-28 18:47:53 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-28 18:47:53 +0000
commit065886a8fcd30f7cb84c1204b1e95e0f58abba12 (patch)
treea2f20bfa36aeca8c1165e8fd2e19863741747e12
parent887c41ee6d59af5bc84dbf6be480ab7829171e8a (diff)
downloaddrakx-065886a8fcd30f7cb84c1204b1e95e0f58abba12.tar
drakx-065886a8fcd30f7cb84c1204b1e95e0f58abba12.tar.gz
drakx-065886a8fcd30f7cb84c1204b1e95e0f58abba12.tar.bz2
drakx-065886a8fcd30f7cb84c1204b1e95e0f58abba12.tar.xz
drakx-065886a8fcd30f7cb84c1204b1e95e0f58abba12.zip
fix indentation
-rw-r--r--mdk-stage1/stage1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index 505bf655c..42604ac79 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -367,11 +367,11 @@ void finish_preparing(void)
#ifdef SPAWN_SHELL
if (shell_pid != 0) {
- int fd;
+ int fd;
kill(shell_pid, 9);
fd = open("/dev/tty2", O_RDWR);
- write(fd, "Killed\n", 7);
- close(fd);
+ write(fd, "Killed\n", 7);
+ close(fd);
}
#endif
}