about summary refs log tree commit diff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index 342c1c909e..d390a8d809 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -338,7 +338,7 @@ again:
 		 * reading an NFS mounted file system, can't read files that
 		 * are protected read/write owner only.
 		 */
-		if (__euidaccess (pbuf, R_OK) != 0)
+		if (__access (pbuf, R_OK) != 0)
 		  hostf = NULL;
 		else
 		  {