diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-06-25 15:54:57 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-06-25 15:54:57 +0000 |
commit | 455e22336550365a19f331036e8e45281008b534 (patch) | |
tree | c9639a37715cef06a876582257e1982b3ca2e3e1 /util/superiotool/ali.c | |
parent | 8c19f949fedeb607996a6c02eb8400b594676cbc (diff) |
The problem is that the check to see if we're at the end is never reached. I
didn't look into it enough to know why fssize is 32 bytes larger than the
offset. There may be another bug here. Maybe something with the CBFS header
not being included or excluded from the calculation?
Anyway, this patch fixes it for all cases size > 32.
I also changed the error message so that it doesn't look like the ROM is full
just because it can't find room for a file.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/ali.c')
0 files changed, 0 insertions, 0 deletions