summaryrefslogtreecommitdiff
path: root/src/libudev/path-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/path-util.c')
-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 fd67310474..417450f283 100644
--- a/src/libudev/path-util.c
+++ b/src/libudev/path-util.c
@@ -152,7 +152,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;