From 6fe934ee6d8eb5f2098be22114e9bca34cbda591 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Fri, 16 Aug 2013 06:24:36 +0200 Subject: libudev/path-util.c: remove usage of canonicalize_file_name() this is a glibc specific alias for realpath(path, NULL). to be portable, we need to use the real thing which is even less verbose. Signed-off-by: Anthony G. Basile --- src/libudev/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf