diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2014-04-03 22:43:28 -0500 |
---|---|---|
committer | Isaac Dunham <ibid.ag@gmail.com> | 2014-04-03 22:43:28 -0500 |
commit | 6f9d481062e171fb0bd1aa5cdcf043c0e4f9d733 (patch) | |
tree | 2b50fcc1648c7b92e0e3659f0793642230f9d411 /toys/other/switch_root.c | |
parent | 547c8d980bb5ae37f8002aead4e155cc5554dfca (diff) | |
download | toybox-6f9d481062e171fb0bd1aa5cdcf043c0e4f9d733.tar.gz |
openvt tries opening several devices to get an fd that points to the current console, without a need for read or write permissions. O_RDWR implies that both O_RDONLY and O_WRONLY would work, so skip it. Reindent.
Diffstat (limited to 'toys/other/switch_root.c')
0 files changed, 0 insertions, 0 deletions