Date: Thu, 21 Oct 2010 06:45:47 +1100 From: Peter Jeremy <peterjeremy@acm.org> To: KOT MATPOCKuH <matpockuh@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: [zfs] Mounting from (...) failed with error 19 Message-ID: <20101020194547.GA94244@server.vk2pj.dyndns.org> In-Reply-To: <AANLkTimhCU%2BppQncCNJicH1AjuM25Z6GH3Jmqckprn=H@mail.gmail.com> References: <4CBCDD3A.9070404@delphij.net> <4CBD26B4.2020205@yandex.ru> <4CBDB17C.4040607@yandex.ru> <AANLkTimhCU%2BppQncCNJicH1AjuM25Z6GH3Jmqckprn=H@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 2010-Oct-20 10:50:38 +0400, KOT MATPOCKuH <matpockuh@gmail.com> wrote:
>> I fixed it with attached patch.
>Omg... Why You are using strcmp, but not strncmp(fs, "zfs", strlen("zfs"))?
Can you explain why you think it should be strncmp() please.
--
Peter Jeremy
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)
iEYEARECAAYFAky/RusACgkQ/opHv/APuIfTawCfeyG2RXkxfhKjoGOdHD2Eif0h
BFMAnA11SiMUhJeV38jBLo2ZXME/62Ja
=WJyt
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101020194547.GA94244>
