X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmount.c;h=5a05e2c18916116aaf22d76cc6931ac4f0eaecad;hb=3e24da51b9eebc950d3d0d39f87cfcf406b281dd;hp=d651e8714bb2115abf8b16e15fc75f2fc2f44cb3;hpb=ca949c9dcf17ea8d6512ac4c5c1a806ded9b8dc1;p=elogind.git diff --git a/src/mount.c b/src/mount.c index d651e8714..5a05e2c18 100644 --- a/src/mount.c +++ b/src/mount.c @@ -1228,7 +1228,7 @@ static char *fstab_node_to_udev_node(char *p) { if (startswith(p, "LABEL=")) { - if (!(u = unquote(p+6, '"'))) + if (!(u = unquote(p+6, "\"\'"))) return NULL; t = xescape(u, "/ "); @@ -1248,7 +1248,7 @@ static char *fstab_node_to_udev_node(char *p) { if (startswith(p, "UUID=")) { - if (!(u = unquote(p+5, '"'))) + if (!(u = unquote(p+5, "\"\'"))) return NULL; t = xescape(u, "/ ");