diff options
Diffstat (limited to 'debian/patches/0001-libdiskfs-fix-servers-exec-lookup.patch')
| -rw-r--r-- | debian/patches/0001-libdiskfs-fix-servers-exec-lookup.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0001-libdiskfs-fix-servers-exec-lookup.patch b/debian/patches/0001-libdiskfs-fix-servers-exec-lookup.patch new file mode 100644 index 00000000..0e9e9d2f --- /dev/null +++ b/debian/patches/0001-libdiskfs-fix-servers-exec-lookup.patch @@ -0,0 +1,27 @@ +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: [PATCH 1/8] 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(-) + +diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c +index 4cc7bb8..a590975 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); +-- +2.1.0 + |
