diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-03-20 21:37:54 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-03-20 21:37:54 +0000 |
commit | a11e6cfd9232d7db4e30d645e6545f5ea1851bb1 (patch) | |
tree | 017e914855175c9c184b47f64cd298621186b350 /util | |
parent | af9484a2a8a88ad68c23a509b713646dda4c740b (diff) | |
download | coreboot-a11e6cfd9232d7db4e30d645e6545f5ea1851bb1.tar.xz |
compilation fix for gcc 4.0.2 (SUSE10)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2220 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r-- | util/flashrom/sst49lf040.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom/sst49lf040.c b/util/flashrom/sst49lf040.c index 641521a457..2823ec23ba 100644 --- a/util/flashrom/sst49lf040.c +++ b/util/flashrom/sst49lf040.c @@ -60,12 +60,12 @@ int write_49lf040(struct flashchip *flash, uint8_t *buf) erase_sector_jedec(bios, i * page_size); /* write to the sector */ - if(i&0xfff==0xfff) + if((i&0xfff)==0xfff) printf("%04d at address: 0x%08x ", i, i * page_size); write_sector_jedec(bios, buf + i * page_size, bios + i * page_size, page_size); - if(i&0xfff==0xfff) + if((i&0xfff)==0xfff) printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); fflush(stdout); } |