summaryrefslogtreecommitdiff
path: root/src/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mount.c')
-rw-r--r--src/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mount.c b/src/mount.c
index d651e8714b..5a05e2c189 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, "/ ");