mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
MFC r281582:
Remove extra flags from r250462.
This commit is contained in:
parent
74b4c4e303
commit
7524ca7a80
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=281896
@ -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 New Issue
Block a user