summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/file-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 480159d4..01720490 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -52,7 +52,7 @@ diskfs_S_file_exec (struct protid *cred,
return EOPNOTSUPP;
if (diskfs_exec == MACH_PORT_NULL)
- diskfs_exec = path_name_lookup (_SERVERS_EXEC, 0);
+ diskfs_exec = file_name_lookup (_SERVERS_EXEC, 0);
if (diskfs_exec == MACH_PORT_NULL)
return EOPNOTSUPP;