summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trans/ifsock.c2
-rw-r--r--utils/shd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/trans/ifsock.c b/trans/ifsock.c
index 24be1679..ffa21db1 100644
--- a/trans/ifsock.c
+++ b/trans/ifsock.c
@@ -82,7 +82,7 @@ main (int argc, char **argv)
/* Try and connect to the pflocal server */
sprintf (buf, "%s/%d", _SERVERS_SOCKET, PF_LOCAL);
- pflocal = path_lookup (buf, 0, 0);
+ pflocal = file_name_lookup (buf, 0, 0);
if (pflocal == MACH_PORT_NULL)
address_port = MACH_PORT_NULL;
diff --git a/utils/shd.c b/utils/shd.c
index 9000b5aa..8a8db3af 100644
--- a/utils/shd.c
+++ b/utils/shd.c
@@ -81,7 +81,7 @@ run (char **argv, int fd0, int fd1)
memcpy (&program[sizeof bin - 1], argv[0], len + 1);
}
- file = path_lookup (program, O_EXEC, 0);
+ file = file_name_lookup (program, O_EXEC, 0);
if (file == MACH_PORT_NULL)
{
perror (program);