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 5313461..d290b60 100644
--- a/bylabel.c
+++ b/bylabel.c
@@ -279,9 +279,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);