From 124786aeeb3edec3f9b39f2251c8b732198fea93 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 1 Jun 2012 17:59:11 -0500 Subject: Convert another realpath use to xrealpath(). --- toys/readlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys') 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) { -- cgit v1.2.3