mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove extra flags from r250462.
MFC after: 1 week
This commit is contained in:
parent
bbfcc42e41
commit
90e8186404
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue