On Wed, 14 Apr 2010, Denys Vlasenko wrote:
> On Tue, Apr 13, 2010 at 6:14 AM, Michael Abbott <mich...@araneidae.co.uk> 
> wrote:
> > +       off_t page_mask = ~(off_t)(page_size - 1);
> > +       size_t map_length;
> >        int fd;
> ...
> >
> > -       virt_addr = (char*)map_base + (target & (page_size - 1));
> > +       virt_addr = (char*)map_base + (target & page_mask);
> 
> Bug in the last line shown.

Yes indeed, hurriedly corrected in a followup message, but easily missed.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to