Hi,

I just built owfs under FreeBSD, of course without w1 support.

One call to "w1_bind" is not protected by OW_W1 macro. The patch that correct this is attached.

Regards,

Max.
--- owfs-2.8p14/module/owlib/src/c/ow_com_open.c.orig   2011-12-19 
02:26:18.000000000 +0100
+++ owfs-2.8p14/module/owlib/src/c/ow_com_open.c        2012-01-02 
21:20:53.000000000 +0100
@@ -49,8 +49,10 @@
                        return tcp_open( connection ) ;         
                case ct_tcp:
                        return tcp_open( connection ) ;
+#if OW_W1
                case ct_netlink:
                        return w1_bind( connection ) ;
+#endif
                case ct_i2c:
                case ct_usb:
                        LEVEL_DEBUG("Unimplemented");
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to