aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-06-01 17:59:11 -0500
committerRob Landley <rob@landley.net>2012-06-01 17:59:11 -0500
commit124786aeeb3edec3f9b39f2251c8b732198fea93 (patch)
tree76c4543b88b119567e429d7ea6dc001f0e3b55ef
parent0f6f98009a7631e613711304f99205de7e19c123 (diff)
downloadtoybox-124786aeeb3edec3f9b39f2251c8b732198fea93.tar.gz
Convert another realpath use to xrealpath().
-rw-r--r--toys/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/readlink.c b/toys/readlink.c
index 882fddc6..51dbf02f 100644
--- a/toys/readlink.c
+++ b/toys/readlink.c
@@ -35,7 +35,7 @@ void readlink_main(void)
// Calculating full cannonical path?
- if (CFG_READLINK_F && toys.optflags) s = realpath(*toys.optargs, NULL);
+ if (CFG_READLINK_F && toys.optflags) s = xrealpath(*toys.optargs);
else s = xreadlink(*toys.optargs);
if (s) {