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>
1 file changed
tree: badabfe9a36455db8c5742850b367706b73494db
  1. kernel/
  2. kernel-2.4/
  3. squashfs-tools/
  4. README