1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Fix build with non-default OPTION owfs

PR:		196421
Submitted by:	osidorkin@gmail.com
Approved by:	johan@stromnet.se (maintainer)
MFH:		2015Q1
This commit is contained in:
Thomas Zander 2015-01-03 16:56:18 +00:00
parent ceffa531f5
commit 9668e7a3d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376126

View File

@ -0,0 +1,11 @@
--- module/owfs/src/c/owfs.c.orig 2014-10-11 03:23:18.000000000 +0400
+++ module/owfs/src/c/owfs.c 2014-12-30 19:53:53.000000000 +0300
@@ -129,7 +129,7 @@
// Unmount just in case
// No checks -- can fail without consequences
- umount( Outbound_Control.head->name ) ;
+ unmount( Outbound_Control.head->name, 0) ;
Fuse_parse(fuse_mnt_opt, &fuse_options);
LEVEL_DEBUG("fuse_mnt_opt=[%s]", fuse_mnt_opt);