diff options
Diffstat (limited to 'bylabel.c')
-rw-r--r-- | bylabel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |