Commit 8ea322d7 authored by Rafaël Carré's avatar Rafaël Carré

udev: fix warning

parent 928c9fa7
......@@ -592,7 +592,7 @@ static char *disc_get_name (struct udev_device *dev)
if (cat == NULL)
cat = N_("Unknown type");
const char *label = decode_property (dev, "ID_FS_LABEL_ENC");
char *label = decode_property (dev, "ID_FS_LABEL_ENC");
if (label)
if (asprintf(&name, "%s (%s)", label, vlc_gettext(cat)) < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment