On Tue, Apr 13, 2010 at 6:14 AM, Michael Abbott <[email protected]> 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. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
