changeset 587:82ffae226c40

Convert another realpath use to xrealpath().
author Rob Landley <rob@landley.net>
date Fri, 01 Jun 2012 17:59:11 -0500
parents 0353ed084559
children 9c2277b92b86
files toys/readlink.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toys/readlink.c	Fri Jun 01 13:51:22 2012 -0500
+++ b/toys/readlink.c	Fri Jun 01 17:59:11 2012 -0500
@@ -35,7 +35,7 @@
 
 	// 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) {