commit | 6db1b6579bc507d5c58df4bb8c15efe22577a783 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Wed Apr 05 11:34:15 2023 +0200 |
committer | Simon Glass <sjg@chromium.org> | Fri Apr 28 11:30:17 2023 -0600 |
tree | 714e57df289aa19b77093e2f4595bced7eff5c0f | |
parent | 88da5e5543960ac19766d1632314ab2ad178ab8b [diff] |
sandbox: fix return type of os_filesize() Given a file ../img of size 4294967296 with GPT partition table and partitions: => host bind 0 ../img => part list host 0 Disk host-0.blk not ready The cause is os_filesize() returning int. File sizes must use off_t. Correct all uses of os_filesize() too. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>