aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index c4674a55f..61b302556 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);
}