summaryrefslogtreecommitdiff
path: root/devel/libexplain/files/patch-libexplain__mount_or_die.c
blob: 49c1fd9bf9415da5a5e5bb53697d2820ed0c1234 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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;