commit | 6f9d481062e171fb0bd1aa5cdcf043c0e4f9d733 | [log] [tgz] |
---|---|---|
author | Isaac Dunham <ibid.ag@gmail.com> | Thu Apr 03 22:43:28 2014 -0500 |
committer | Isaac Dunham <ibid.ag@gmail.com> | Thu Apr 03 22:43:28 2014 -0500 |
tree | 2b50fcc1648c7b92e0e3659f0793642230f9d411 | |
parent | 547c8d980bb5ae37f8002aead4e155cc5554dfca [diff] |
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.