diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-04-16 02:24:40 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-04-16 02:24:40 +0000 |
commit | 90e818640446e8889b4ec945383ecbe6a4e05d26 (patch) | |
tree | 23dd5c70738caccb44156a089311054f7405c465 /usr.bin/lockf | |
parent | bbfcc42e4139bd7459e7b0c7bf94d7b9b97428cf (diff) |
Remove extra flags from r250462.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=281582
Diffstat (limited to 'usr.bin/lockf')
-rw-r--r-- | usr.bin/lockf/lockf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/lockf/lockf.c b/usr.bin/lockf/lockf.c index 9a6141f40acf..5555c488cd15 100644 --- a/usr.bin/lockf/lockf.c +++ b/usr.bin/lockf/lockf.c @@ -169,7 +169,7 @@ acquire_lock(const char *name, int flags) { int fd; - if ((fd = open(name, flags|O_RDONLY|O_EXLOCK|flags, 0666)) == -1) { + if ((fd = open(name, O_RDONLY|O_EXLOCK|flags, 0666)) == -1) { if (errno == EAGAIN || errno == EINTR) return (-1); err(EX_CANTCREAT, "cannot open %s", name); |