Commit 9ca19a3a authored by Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf Committed by Richard Weinberger

um: Don't hardcode path as it is architecture dependent

The current code fails to run on amd64 because of hardcoded reference to
i386
Signed-off-by: default avatarRitesh Raj Sarraf <rrs@researchut.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent d312a25d
......@@ -168,7 +168,7 @@ int port_connection(int fd, int *socket, int *pid_out)
{
int new, err;
char *argv[] = { "/usr/sbin/in.telnetd", "-L",
"/usr/lib/uml/port-helper", NULL };
OS_LIB_PATH "/uml/port-helper", NULL };
struct port_pre_exec_data data;
new = accept(fd, NULL, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment