summaryrefslogtreecommitdiffstats
path: root/trunk/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/main.c')
-rw-r--r--trunk/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/main.c b/trunk/src/main.c
index 2c442e8..4678ba4 100644
--- a/trunk/src/main.c
+++ b/trunk/src/main.c
@@ -315,7 +315,7 @@ main (int argc, char *argv[])
if (sysroot)
{
- sysroot = prelink_canonicalize (sysroot, NULL);
+ sysroot = canonicalize_file_name (sysroot);
if (sysroot == NULL)
error (EXIT_FAILURE, 0, "Could not canonicalize --root argument");
asprintf ((char **) &prelink_conf, "%s%s", sysroot, prelink_conf);