linuxolator: proc/filesystems and sysfs function implementations
Scot Hetzel
swhetzel at gmail.com
Fri Jan 26 23:50:36 UTC 2007
Opps made a small mistake in the bsd_to_linux_fs function, I had used
sizeof(name) in the strlcpy, but that returns the size of the pointer.
I have renamed the function to make it more descriptive, and it now
takes 2 arguments [ bsd2linux_fsname(char *name, int size) ], size is
now used in the strlcpy instead of sizeof(name).
Attached is the updated patch.
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysfs4.patch
Type: text/x-diff
Size: 7125 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20070126/b8928df7/sysfs4.bin
More information about the freebsd-emulation
mailing list