summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index c4674a5..61b3025 100644
--- a/init/init.c
+++ b/init/init.c
@@ -230,8 +230,8 @@ static void console_init(void)
/* Give me _ANY_ open descriptor! */
fd = xopen("/", O_RDONLY); /* we don't believe this can fail */
}
- while ((unsigned)fd < 2)
- fd = dup(fd);
+ while ((unsigned)fd < 2)
+ fd = dup(fd);
if (fd > 2)
close(fd);
}