From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 15 Dec 2011 00:35:51 -0500 Subject: [U-Boot] [PATCH/RFC] fix several printf() modifiers In-Reply-To: <1323857047-11574-1-git-send-email-andreas.devel@googlemail.com> References: <4EE843FE.1070504@wytron.com.tw> <1323857047-11574-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <201112150035.53473.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 14 December 2011 05:04:07 Andreas Bie?mann wrote: > --- a/arch/avr32/cpu/at32ap700x/mmu.c > +++ b/arch/avr32/cpu/at32ap700x/mmu.c > > - printf("VMR table @ 0x%08x\n", vmr_table_addr); > + printf("VMR table @ %#lx\n", vmr_table_addr); this isn't the same. probably should be %08lx. > --- a/common/cmd_sf.c > +++ b/common/cmd_sf.c > > - debug("offset=%#x, sector_size=%#x, len=%#x\n", > + debug("offset=%#x, sector_size=%#x, len=%#zx\n", > > - debug("Skip region %x size %x: no change\n", > + debug("Skip region %x size %zx: no change\n", > > --- a/fs/fat/fat.c > +++ b/fs/fat/fat.c > > - debug("FAT read sect=%d, clust_size=%d, DIRENTSPERBLOCK=%d\n", > + debug("FAT read sect=%d, clust_size=%d, DIRENTSPERBLOCK=%zd\n", these look good. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: