Re: svn commit: r304221 - head/sys/boot/efi/boot1

2016-08-17 Thread Emmanuel Vadot
On Tue, 16 Aug 2016 12:16:30 -0600 Warner Losh wrote: > On Tue, Aug 16, 2016 at 8:57 AM, Ed Schouten wrote: > > Hi Emmanuel, > > > > 2016-08-16 16:23 GMT+02:00 Emmanuel Vadot : > >> Author: manu > >> Date: Tue Aug 16 14:23:35 2016 > >> New Revision: 304221 > >> URL: https://svnweb.freebsd.org/ch

Re: svn commit: r304221 - head/sys/boot/efi/boot1

2016-08-16 Thread Warner Losh
On Tue, Aug 16, 2016 at 8:57 AM, Ed Schouten wrote: > Hi Emmanuel, > > 2016-08-16 16:23 GMT+02:00 Emmanuel Vadot : >> Author: manu >> Date: Tue Aug 16 14:23:35 2016 >> New Revision: 304221 >> URL: https://svnweb.freebsd.org/changeset/base/304221 >> >> Log: >> Use %ju modifier for u_int64_t and %

Re: svn commit: r304221 - head/sys/boot/efi/boot1

2016-08-16 Thread Bruce Evans
On Tue, 16 Aug 2016, Ed Schouten wrote: Hi Emmanuel, Log: Use %ju modifier for u_int64_t and %jd modifier for off_t. off_t is long long on arm32 and long on amd64 I think both of these should be solved differently: - For uint64_t, you can use 's PRIu64 in the formatting string. In kerne

Re: svn commit: r304221 - head/sys/boot/efi/boot1

2016-08-16 Thread Ed Schouten
Hi Emmanuel, 2016-08-16 16:23 GMT+02:00 Emmanuel Vadot : > Author: manu > Date: Tue Aug 16 14:23:35 2016 > New Revision: 304221 > URL: https://svnweb.freebsd.org/changeset/base/304221 > > Log: > Use %ju modifier for u_int64_t and %jd modifier for off_t. > off_t is long long on arm32 and long o