diff toys/readlink.c @ 587:82ffae226c40

Convert another realpath use to xrealpath().
author Rob Landley <rob@landley.net>
date Fri, 01 Jun 2012 17:59:11 -0500
parents 163498bf547b
children
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) {