Author: bdrewery Date: Thu Apr 16 02:24:40 2015 New Revision: 281582 URL: https://svnweb.freebsd.org/changeset/base/281582
Log: Remove extra flags from r250462. MFC after: 1 week Modified: head/usr.bin/lockf/lockf.c Modified: head/usr.bin/lockf/lockf.c ============================================================================== --- head/usr.bin/lockf/lockf.c Thu Apr 16 01:47:05 2015 (r281581) +++ head/usr.bin/lockf/lockf.c Thu Apr 16 02:24:40 2015 (r281582) @@ -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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"