Skip to content

Commit

Permalink
um: Don't hardcode path as it is architecture dependent
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ritesh Raj Sarraf authored and Richard Weinberger committed Oct 29, 2018
1 parent d312a25 commit 9ca19a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/drivers/port_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9ca19a3

Please sign in to comment.