aboutsummaryrefslogtreecommitdiff
path: root/toys/other/mkswap.c
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-04-03 22:43:28 -0500
committerIsaac Dunham <ibid.ag@gmail.com>2014-04-03 22:43:28 -0500
commit6f9d481062e171fb0bd1aa5cdcf043c0e4f9d733 (patch)
tree2b50fcc1648c7b92e0e3659f0793642230f9d411 /toys/other/mkswap.c
parent547c8d980bb5ae37f8002aead4e155cc5554dfca (diff)
downloadtoybox-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/mkswap.c')
0 files changed, 0 insertions, 0 deletions