From 626ff916ca63334e6c170f059ea47f9cfea19661 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Tue, 2 Sep 2014 22:19:54 +0200
Subject: 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.
---
 libdiskfs/boot-start.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libdiskfs')

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);
-- 
cgit v1.2.3