summaryrefslogtreecommitdiff
path: root/utils/shd.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-30 20:42:14 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-30 20:42:14 +0000
commitce43e3758068cfe34ab2b50b595fe43146664ac4 (patch)
treed8a86a675716023c907ab7a38418188ff3c2bcba /utils/shd.c
parentdcee9f3b46aa67ec04b868acd2dbbc759cef0912 (diff)
entered into RCS
Diffstat (limited to 'utils/shd.c')
-rw-r--r--utils/shd.c2
1 files changed, 1 insertions, 1 deletions
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);