summaryrefslogtreecommitdiffstats
path: root/libblkid/src/topology/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libblkid/src/topology/sysfs.c')
-rw-r--r--libblkid/src/topology/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libblkid/src/topology/sysfs.c b/libblkid/src/topology/sysfs.c
index 25debd0..d216cfc 100644
--- a/libblkid/src/topology/sysfs.c
+++ b/libblkid/src/topology/sysfs.c
@@ -26,7 +26,7 @@
static const struct topology_val {
/* /sys/dev/block/<maj>:<min>/<ATTR> */
- const char *attr;
+ const char * const attr;
/* functions to set probing result */
int (*set_ulong)(blkid_probe, unsigned long);