mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
um: Don't hardcode path as it is architecture dependent
commit 9ca19a3a3e upstream.
The current code fails to run on amd64 because of hardcoded reference to
i386
Signed-off-by: Ritesh Raj Sarraf <rrs@researchut.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
85f347944a
commit
db1b4aa651
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user