Remove extra flags from r250462.

MFC after:	1 week
This commit is contained in:
bdrewery 2015-04-16 02:24:40 +00:00
parent eb791735b7
commit bcb387d747

View File

@ -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);