[zfs] Mounting from (...) failed with error 19
    Andrey V. Elsukov 
    bu7cher at yandex.ru
       
    Wed Oct 20 07:21:52 UTC 2010
    
    
  
On 20.10.2010 10:50, KOT MATPOCKuH wrote:
> Hello!
> 
>> I fixed it with attached patch.
> Omg... Why You are using strcmp, but not strncmp(fs, "zfs", strlen("zfs"))?
:)
Just because it is not first access to the fs variable in this function.
And it is already checked with strcmp.
-- 
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20101020/e3138f74/signature.pgp
    
    
More information about the freebsd-current
mailing list