chiark / gitweb /
volume_id: hfs - calculate proper uuid
[elogind.git] / extras / volume_id / lib / util.c
index ea07cfd6c1bc0b8794a26cb1b79fba74c2703bf8..e71d6208c5aadc325398318752943d882979fd21 100644 (file)
@@ -269,7 +269,6 @@ void volume_id_set_uuid(struct volume_id *id, const uint8_t *buf, size_t len, en
                count = 4;
                break;
        case UUID_64BIT_LE:
-       case UUID_64BIT_BE:
                count = 8;
                break;
        case UUID_DCE:
@@ -302,11 +301,6 @@ set:
                        buf[7], buf[6], buf[5], buf[4],
                        buf[3], buf[2], buf[1], buf[0]);
                break;
-       case UUID_64BIT_BE:
-               sprintf(id->uuid,"%02X%02X%02X%02X%02X%02X%02X%02X",
-                       buf[0], buf[1], buf[2], buf[3],
-                       buf[4], buf[5], buf[6], buf[7]);
-               break;
        case UUID_DCE:
                sprintf(id->uuid,
                        "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",