aboutsummaryrefslogtreecommitdiff
path: root/util-linux/volume_id/volume_id_internal.h
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2010-12-30 00:40:11 +0100
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2010-12-30 00:40:11 +0100
commit90615a0c5c326fa3cf78fc719f7b16207f47395a (patch)
treebdfee5d8916cc60e9e171b15b7adcc1f5460769a /util-linux/volume_id/volume_id_internal.h
parent2272129a93d9492a42ef43987f829940d26dc862 (diff)
downloadbusybox-90615a0c5c326fa3cf78fc719f7b16207f47395a.tar.gz
busybox-90615a0c5c326fa3cf78fc719f7b16207f47395a.tar.bz2
blkid: optional support for TYPE="fstype"
Adapted from patch created by T4ndeta <t4ndeta@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/volume_id_internal.h')
-rw-r--r--util-linux/volume_id/volume_id_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/volume_id/volume_id_internal.h b/util-linux/volume_id/volume_id_internal.h
index 9b808ff6b..1c64046e5 100644
--- a/util-linux/volume_id/volume_id_internal.h
+++ b/util-linux/volume_id/volume_id_internal.h
@@ -80,7 +80,9 @@ struct volume_id {
// char type_version[VOLUME_ID_FORMAT_SIZE];
// smallint usage_id;
// const char *usage;
-// const char *type;
+#if ENABLE_FEATURE_BLKID_TYPE
+ const char *type;
+#endif
};
struct volume_id* FAST_FUNC volume_id_open_node(int fd);