"Avinash Malik" <[EMAIL PROTECTED]> wrote:

> #ifdef __LITTLE_ENDIAN
> sblock.fs_version = PED_CPU_TO_LE32(fs_verison)
> #endif
> #ifdef __BIG_ENDIAN
> sblock.fs_version = PED_CPU_TO_BE32(fs_version)
> #endif

This is the same as simply : sblock.fs_version = fs_version;

Find out how the on disk structure must be. Then adapt your code.

Regards,
David



_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to