summaryrefslogtreecommitdiff
path: root/bylabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'bylabel.c')
-rw-r--r--bylabel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bylabel.c b/bylabel.c
index 069c3a1..fc20ef4 100644
--- a/bylabel.c
+++ b/bylabel.c
@@ -280,9 +280,9 @@ static char *get_spec_by_volume_label(const char *s)
return get_spec_by_x(VOL, s);
}
-const char *get_device_name(const char *item)
+char *get_device_name(const char *item)
{
- const char *rc;
+ char *rc;
if (!strncmp(item, "UUID=", 5))
rc = get_spec_by_uuid(item + 5);