diff options
Diffstat (limited to 'e2fsprogs/uuid/unpack.c')
-rw-r--r-- | e2fsprogs/uuid/unpack.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/e2fsprogs/uuid/unpack.c b/e2fsprogs/uuid/unpack.c index 9502fc2a6..d63589521 100644 --- a/e2fsprogs/uuid/unpack.c +++ b/e2fsprogs/uuid/unpack.c @@ -37,8 +37,8 @@ void uuid_unpack(const uuid_t in, struct uuid *uu) { - const uint8_t *ptr = in; - uint32_t tmp; + const uint8_t *ptr = in; + uint32_t tmp; tmp = *ptr++; tmp = (tmp << 8) | *ptr++; @@ -49,7 +49,7 @@ void uuid_unpack(const uuid_t in, struct uuid *uu) tmp = *ptr++; tmp = (tmp << 8) | *ptr++; uu->time_mid = tmp; - + tmp = *ptr++; tmp = (tmp << 8) | *ptr++; uu->time_hi_and_version = tmp; @@ -60,4 +60,3 @@ void uuid_unpack(const uuid_t in, struct uuid *uu) memcpy(uu->node, ptr, 6); } - |