summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/switch_root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index 43c2a69..43377e1 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -111,7 +111,7 @@ int switch_root_main(int argc, char **argv)
if (console) {
close(0);
- if(open(console, O_RDWR) < 0)
+ if (open(console, O_RDWR) < 0)
bb_error_msg_and_die("bad console '%s'", console);
dup2(0, 1);
dup2(0, 2);