1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 11:40:31 -04:00
ports/devel/libexplain/files/patch-libexplain__mount_or_die.c
Danilo Egea Gondolfo e3c3b5d6f2 - Update from 1.2 to 1.3 patch level D012
PR:		ports/184885
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-22 00:21:49 +00:00

14 lines
340 B
C

--- libexplain/mount_or_die.c.orig
+++ libexplain/mount_or_die.c
@@ -42,7 +42,11 @@
int result;
#ifdef HAVE_MOUNT
+#if defined(__FreeBSD__)
+ result = mount(source, target, flags, data);
+#else
result = mount(source, target, file_systems_type, flags, data);
+#endif
#else
errno = ENOSYS;
result = -1;