blob: dd5e7952a36fb374a480d17aeaeb734a79d9c404 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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);
|