Commit 4bb6b13a authored by Matt Domsch's avatar Matt Domsch Committed by David Mosberger

[PATCH] Wouldn't you know it, but Richard Hirst found that I was *again* unparsing

Patch below should apply to both the 2.5.7-pre1 and 2.4.18 trees.
parent 7e19ee74
...@@ -244,8 +244,8 @@ static inline char * ...@@ -244,8 +244,8 @@ static inline char *
efi_guid_unparse(efi_guid_t *guid, char *out) efi_guid_unparse(efi_guid_t *guid, char *out)
{ {
sprintf(out, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", sprintf(out, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
guid->b[0], guid->b[1], guid->b[2], guid->b[3], guid->b[3], guid->b[2], guid->b[1], guid->b[0],
guid->b[4], guid->b[5], guid->b[6], guid->b[7], guid->b[5], guid->b[4], guid->b[7], guid->b[6],
guid->b[8], guid->b[9], guid->b[10], guid->b[11], guid->b[8], guid->b[9], guid->b[10], guid->b[11],
guid->b[12], guid->b[13], guid->b[14], guid->b[15]); guid->b[12], guid->b[13], guid->b[14], guid->b[15]);
return out; return out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment