chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
path-util: introduce path_simplify()
[elogind.git]
/
src
/
basic
/
mount-util.c
diff --git
a/src/basic/mount-util.c
b/src/basic/mount-util.c
index 9d1f34e0819c5d1e1dd4e09382b53369dc2d1870..76c0969d45faab941de0039939586591a6d7a0ce 100644
(file)
--- a/
src/basic/mount-util.c
+++ b/
src/basic/mount-util.c
@@
-414,7
+414,7
@@
int bind_remount_recursive_with_mountinfo(const char *prefix, bool ro, char **bl
if (!cleaned)
return -ENOMEM;
- path_
kill_slashes(cleaned
);
+ path_
simplify(cleaned, false
);
done = set_new(&path_hash_ops);
if (!done)