diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-09 02:59:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-09 02:59:07 +0000 |
commit | d5518d3ecbf33825b14179efcc55c8eff0739f1f (patch) | |
tree | cbb66cafa89f7d9c3a8b5935e9447bf4f36dae46 /usr.bin/less/decode.c | |
parent | 03e26435adecc5b117f0f1014d23f010768992dd (diff) |
do not need wrappers around O_RDONLY and such
Diffstat (limited to 'usr.bin/less/decode.c')
-rw-r--r-- | usr.bin/less/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/decode.c b/usr.bin/less/decode.c index 66b116e7469..85db7eadcff 100644 --- a/usr.bin/less/decode.c +++ b/usr.bin/less/decode.c @@ -623,7 +623,7 @@ lesskey(char *filename, int sysvar) * Try to open the lesskey file. */ filename = shell_unquote(filename); - f = open(filename, OPEN_READ); + f = open(filename, O_RDONLY); free(filename); if (f < 0) return (1); |