X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmount.c;h=5a05e2c18916116aaf22d76cc6931ac4f0eaecad;hp=d651e8714bb2115abf8b16e15fc75f2fc2f44cb3;hb=97c4a07df982ee967705022feaba9be33947abf0;hpb=8e12a6aed3d99ac8c140cd56b560f5efeb1c4e1a 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, "/ ");