forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
14 lines
340 B
C
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;
|