[CRIU] [PATCH] page-pipe: Update format for PAGE_SIZE
Cyrill Gorcunov
gorcunov at gmail.com
Fri Feb 21 06:17:08 PST 2014
On Fri, Feb 21, 2014 at 05:22:42PM +0400, Cyrill Gorcunov wrote:
> On Fri, Feb 21, 2014 at 05:18:31PM +0400, Pavel Emelyanov wrote:
> > On 02/21/2014 05:15 PM, Cyrill Gorcunov wrote:
> > > | page-pipe.c:230:4: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘long unsigned int’ [-Werror=format]
> > > | page-pipe.c:237:3: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘long unsigned int’ [-Werror=format]
> > >
> > > This is because PAGE_SIZE is defined as unsigned long (same
> > > as kernel does).
> >
> > Did you check this on PI?
>
> Nope, on my testing x86 only, I don't know where the PI is located.
I've tested it on PI as well.
More information about the CRIU
mailing list