On Wed, 25 Dec 2013, Jérémie Courrèges-Anglas wrote:
> Theo de Raadt <dera...@cvs.openbsd.org> writes:
> 
> > The hiding of PAGE_SIZE is intentional.
> >
> > The code should be using getpagesize() or some API which asks the
> > kernel.
> >
> > The reason is that PAGE_SIZE is not a standardized symbol, and on some
> > of our architectures it changes between different processor models.
> 
> [...]
> 
> Here's a compile-tested diff.  Donovan, does this fix your problem?

D'oh, I had started a similar diff thanks to Theo's explanations and the
already existing function in ntfsprogs/, but Christmas made me slack.

Anyway, it builds and works fine with an NTFS formated USB flash drive,
thanks!

Reply via email to