diff options
author | Ritesh Raj Sarraf <rrs@debian.org> | 2018-09-20 11:56:38 +0530 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-10-29 22:34:10 +0100 |
commit | 9ca19a3a3e2482916c475b90f3d7fa2a03d8e5ed (patch) | |
tree | db4f4c034b6fbc7923b111d2f0504694dbbd1352 | |
parent | d312a25d477519d5d47f8ce850e80b52cf4113b0 (diff) | |
download | linux-stable-9ca19a3a3e2482916c475b90f3d7fa2a03d8e5ed.tar.gz linux-stable-9ca19a3a3e2482916c475b90f3d7fa2a03d8e5ed.tar.bz2 linux-stable-9ca19a3a3e2482916c475b90f3d7fa2a03d8e5ed.zip |
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: Ritesh Raj Sarraf <rrs@researchut.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | arch/um/drivers/port_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/port_user.c b/arch/um/drivers/port_user.c index 9a8e1b64c22e..5f56d11b886f 100644 --- a/arch/um/drivers/port_user.c +++ b/arch/um/drivers/port_user.c @@ -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); |