Author: mjg
Date: Fri Jan 17 15:45:39 2020
New Revision: 356832
URL: https://svnweb.freebsd.org/changeset/base/356832

Log:
  libc: fix build after r356830
  
  Apparently building with 'cd lib/libc; make all install' is not the same
  as buildworld.
  
  Reported by:  Michael Butler

Modified:
  head/lib/libc/gen/opendir.c

Modified: head/lib/libc/gen/opendir.c
==============================================================================
--- head/lib/libc/gen/opendir.c Fri Jan 17 14:43:58 2020        (r356831)
+++ head/lib/libc/gen/opendir.c Fri Jan 17 15:45:39 2020        (r356832)
@@ -279,7 +279,7 @@ is_unionstack(int fd)
        struct statfs sfb;
        int unionstack;
 
-       unionstack = _fcntl(fd, F_ISUNIONSTACK);
+       unionstack = _fcntl(fd, F_ISUNIONSTACK, 0);
        if (unionstack != -1)
                return (unionstack);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to