|
@@ -37,9 +37,9 @@ char * uuid_ntoa ( union uuid *uuid ) {
|
37
|
37
|
static char buf[37]; /* "00000000-0000-0000-0000-000000000000" */
|
38
|
38
|
|
39
|
39
|
sprintf ( buf, "%08lx-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
|
40
|
|
- le32_to_cpu ( uuid->canonical.a ),
|
41
|
|
- le16_to_cpu ( uuid->canonical.b ),
|
42
|
|
- le16_to_cpu ( uuid->canonical.c ),
|
|
40
|
+ be32_to_cpu ( uuid->canonical.a ),
|
|
41
|
+ be16_to_cpu ( uuid->canonical.b ),
|
|
42
|
+ be16_to_cpu ( uuid->canonical.c ),
|
43
|
43
|
be16_to_cpu ( uuid->canonical.d ),
|
44
|
44
|
uuid->canonical.e[0], uuid->canonical.e[1],
|
45
|
45
|
uuid->canonical.e[2], uuid->canonical.e[3],
|