ports/emulators/qemu-devel/files/extra-patch-kernproc
Juergen Lock 652731ab59 - bsd-user: Implement getvfsbyname(3) that popped up in ports builds
and used by tar. [1]
- bsd-user: Fix crashes in sysctl.kern.proc in 32bit envs on 64bit. [1]
- Bump PORTREVISION.

Submitted by:	sson [1]
2014-07-02 17:16:16 +00:00

13 lines
497 B
Text

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);