aboutsummaryrefslogtreecommitdiff
path: root/util-linux/volume_id
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id')
-rw-r--r--util-linux/volume_id/volume_id_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/volume_id/volume_id_internal.h b/util-linux/volume_id/volume_id_internal.h
index 609beb84e..b1e44481f 100644
--- a/util-linux/volume_id/volume_id_internal.h
+++ b/util-linux/volume_id/volume_id_internal.h
@@ -66,6 +66,9 @@ struct volume_id {
uint8_t *sbbuf;
uint8_t *seekbuf;
uint64_t seekbuf_off;
+#if ENABLE_FEATURE_BLKID_TYPE
+ const char *type;
+#endif
#ifdef UNUSED_PARTITION_CODE
struct volume_id_partition *partitions;
size_t partition_count;
@@ -80,9 +83,6 @@ struct volume_id {
// char type_version[VOLUME_ID_FORMAT_SIZE];
// smallint usage_id;
// const char *usage;
-#if ENABLE_FEATURE_BLKID_TYPE
- const char *type;
-#endif
};
struct volume_id* FAST_FUNC volume_id_open_node(int fd);