summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/xterm.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-05-24 17:13:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 08:39:40 -0700
commit0ce451acb1872eab0fcf22753f93f51567e812fa (patch)
treecb9658d9faeec3fbb1d089c94da32f009bf9ff93 /arch/um/drivers/xterm.c
parent8aebe21e0f805b9c411a51e716bb34aa61c0cad6 (diff)
downloadop-kernel-dev-0ce451acb1872eab0fcf22753f93f51567e812fa.zip
op-kernel-dev-0ce451acb1872eab0fcf22753f93f51567e812fa.tar.gz
um: fix UML_LIB_PATH
UML_LIB_PATH is hardcoded to /usr/lib/uml/, on 64bit systems UML_LIB_PATH needs to be /usr/lib64/uml/. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/xterm.c')
-rw-r--r--arch/um/drivers/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/xterm.c b/arch/um/drivers/xterm.c
index da2caa5..8ac7146 100644
--- a/arch/um/drivers/xterm.c
+++ b/arch/um/drivers/xterm.c
@@ -90,7 +90,7 @@ static int xterm_open(int input, int output, int primary, void *d,
int pid, fd, new, err;
char title[256], file[] = "/tmp/xterm-pipeXXXXXX";
char *argv[] = { terminal_emulator, title_switch, title, exec_switch,
- "/usr/lib/uml/port-helper", "-uml-socket",
+ OS_LIB_PATH "/uml/port-helper", "-uml-socket",
file, NULL };
if (access(argv[4], X_OK) < 0)
OpenPOWER on IntegriCloud