commit | 0b44cade81d66659cb69620999dfb318e51a0697 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Sat Jun 22 02:39:33 2013 +0100 |
committer | Mohamad Ayyash <mkayyash@google.com> | Mon Feb 23 12:36:02 2015 -0800 |
tree | badabfe9a36455db8c5742850b367706b73494db | |
parent | b1b4fe22b339f73360c4e94e75ca46975c54bc06 [diff] |
xz_wrapper: fix sizeof() in xz_display_options() Sizeof() was incorrectly sizeof(comp_opts) or size of pointer, rather than the size of the structure. On 64-bit systems it worked because it so happens that size pointer == 8, which is the size of the structure. This bug has shown up now on a 32-bit system (Raspberry Pi), where the size of pointer is 4 bytes. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>