Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2020 15:45:39 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r356832 - head/lib/libc/gen
Message-ID:  <202001171545.00HFjdMw003501@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001171545.00HFjdMw003501>