issue with devstat_buildmatch(3) and certain strings

Warner Losh imp at bsdimp.com
Fri Apr 1 14:58:56 UTC 2011


On Apr 1, 2011, at 5:40 AM, Sergey Kandaurov wrote:
>>                        if (++tempstr >= &tstr[5])
>                               ^^^^
> BTW,
> this game with pointers might prevent devstat(3) from work on big-endian.

I'm very curious about your reasoning here.

Warner




More information about the freebsd-hackers mailing list