summaryrefslogtreecommitdiff
path: root/src/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/path-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/path-util.c b/src/libudev/path-util.c
index a4484c8de1..67863a8757 100644
--- a/src/libudev/path-util.c
+++ b/src/libudev/path-util.c
@@ -149,7 +149,7 @@ char **path_strv_canonicalize(char **l) {
}
errno = 0;
- u = canonicalize_file_name(t);
+ u = realpath(t, 0);
if (!u) {
if (errno == ENOENT)
u = t;