diff options
Diffstat (limited to 'arch/um/os-Linux/main.c')
-rw-r--r-- | arch/um/os-Linux/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index eee69b9f52c9..fb2a97a75fb1 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c | |||
@@ -78,7 +78,7 @@ static void install_fatal_handler(int sig) | |||
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||
81 | #define UML_LIB_PATH ":/usr/lib/uml" | 81 | #define UML_LIB_PATH ":" OS_LIB_PATH "/uml" |
82 | 82 | ||
83 | static void setup_env_path(void) | 83 | static void setup_env_path(void) |
84 | { | 84 | { |
@@ -142,7 +142,6 @@ int __init main(int argc, char **argv, char **envp) | |||
142 | */ | 142 | */ |
143 | install_fatal_handler(SIGINT); | 143 | install_fatal_handler(SIGINT); |
144 | install_fatal_handler(SIGTERM); | 144 | install_fatal_handler(SIGTERM); |
145 | install_fatal_handler(SIGHUP); | ||
146 | 145 | ||
147 | scan_elf_aux(envp); | 146 | scan_elf_aux(envp); |
148 | 147 | ||