diff options
author | Detlef Bardtholdt <bardtholdt.detlef@ng-litef.de> | 2009-06-08 09:34:55 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-06-08 09:37:12 +0100 |
commit | e4d5eea6414093fb074b19585cb8bebadc2d3e0e (patch) | |
tree | 70af260d2aa687825a776fc5f80d208b6f965a84 /tests/fs-tests/simple/ftrunc.c | |
parent | c94247b97eac8c1b47bd20b3cb1551f9d3e08e68 (diff) |
libubi: fix wrong size calculation with sizes > 4GiB
This fixes the handling of total_bytes, avail_bytes and rsvd_bytes.
The result of the multiplication must be 64 Bit.
Signed-off-by: Detlef Bardtholdt <bardtholdt.detlef@ng-litef.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tests/fs-tests/simple/ftrunc.c')
0 files changed, 0 insertions, 0 deletions