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>
This commit is contained in:
Richard Weinberger 2011-05-24 17:13:00 -07:00 committed by Linus Torvalds
parent 8aebe21e0f
commit 0ce451acb1
3 changed files with 8 additions and 2 deletions

View file

@ -78,7 +78,7 @@ static void install_fatal_handler(int sig)
}
}
#define UML_LIB_PATH ":/usr/lib/uml"
#define UML_LIB_PATH ":" OS_LIB_PATH "/uml"
static void setup_env_path(void)
{