Jeff Epler, le Wed 13 Mar 2013 19:39:47 -0500, a écrit : > --- util-linux-2.20.1.orig/libmount/src/context_umount.c > +++ util-linux-2.20.1/libmount/src/context_umount.c > @@ -439,6 +439,9 @@ > /* Check whether the kernel supports UMOUNT_NOFOLLOW flag */ > static int umount_nofollow_support(void) > { > +#ifdef __FreeBSD_kernel__ > + return 0; > +#else > int res = umount2("", UMOUNT_UNUSED); > if (res != -1 || errno != EINVAL) > return 0; > @@ -448,10 +451,14 @@ > return 0; > > return 1; > +#endif Perhaps rather turn all these into #ifdef __linux__ linux stuff #else return 0; #endif ? Samuel -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html