[CRIU] [PATCH 10/20] cr-restore.c: introduced the multiarch support.

Pavel Emelyanov xemul at parallels.com
Wed Dec 12 11:35:51 EST 2012


On 12/12/2012 08:28 PM, Alexander Kartashov wrote:
>> WTF is that? It's just unsigned long printing, why this ugly format hacks?!
> 
> Unfortunately, almost all format strings have to be fixed in this way.
> In this case vma->vma.start is 64-bit long but %lx on ARM expects
> 32-bit interger.

No, better cast protobuf's vma->vma.start to unsigned long where required.


More information about the CRIU mailing list