summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-02 22:19:54 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-02 22:22:34 +0200
commit626ff916ca63334e6c170f059ea47f9cfea19661 (patch)
treebe0d0169ee9d50f1e4abf5c39bf1249c74c24872 /libdiskfs
parent5f1011ac0ad676d1e7eaba14d1384180e98fb93e (diff)
libdiskfs: fix /servers/exec lookup
* libdiskfs/boot-start.c (diskfs_start_bootstrap): Pass retry_name to dir_lookup, which is later checked to be the empty string.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/boot-start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 4cc7bb8d..a5909758 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -178,7 +178,7 @@ diskfs_start_bootstrap ()
/* Attempt to set the active translator for the exec server so that
filesystems other than the bootstrap can find it. */
err = dir_lookup (root_pt, _SERVERS_EXEC, O_NOTRANS, 0,
- &retry, pathbuf, &execnode);
+ &retry, retry_name, &execnode);
if (err)
{
error (0, err, "cannot set translator on %s", _SERVERS_EXEC);