diff options
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-kernproc')
| -rw-r--r-- | emulators/qemu-devel/files/extra-patch-kernproc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-kernproc b/emulators/qemu-devel/files/extra-patch-kernproc new file mode 100644 index 000000000000..dd5e7952a36f --- /dev/null +++ b/emulators/qemu-devel/files/extra-patch-kernproc @@ -0,0 +1,13 @@ +diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c +index 28a8bba..a1d8747 100644 +--- a/bsd-user/bsdload.c ++++ b/bsd-user/bsdload.c +@@ -228,7 +228,7 @@ int loader_exec(const char * filename, char ** argv, char ** envp, + bprm->fullpath = g_strdup(fullpath); + } else { + retval = open(execname, O_RDONLY); +- bprm->fullpath = NULL; ++ bprm->fullpath = g_strdup(execname); + } + if (execname) { + g_free((void *)execname); |
