]> Git Repo - linux.git/commitdiff
um: Don't hardcode path as it is architecture dependent
authorRitesh Raj Sarraf <[email protected]>
Thu, 20 Sep 2018 06:26:38 +0000 (11:56 +0530)
committerRichard Weinberger <[email protected]>
Mon, 29 Oct 2018 21:34:10 +0000 (22:34 +0100)
The current code fails to run on amd64 because of hardcoded reference to
i386

Signed-off-by: Ritesh Raj Sarraf <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
arch/um/drivers/port_user.c

index 9a8e1b64c22e3dcf4a51845b4a9343adfbc1e144..5f56d11b886fc2926ac412b0f3b292a1a88b2ec3 100644 (file)
@@ -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);
This page took 0.058471 seconds and 4 git commands to generate.