aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/um/os-Linux/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c
index 749c96da7b99..e1704ff600ff 100644
--- a/arch/um/os-Linux/main.c
+++ b/arch/um/os-Linux/main.c
@@ -123,6 +123,8 @@ int __init main(int argc, char **argv, char **envp)
123 123
124 setup_env_path(); 124 setup_env_path();
125 125
126 setsid();
127
126 new_argv = malloc((argc + 1) * sizeof(char *)); 128 new_argv = malloc((argc + 1) * sizeof(char *));
127 if (new_argv == NULL) { 129 if (new_argv == NULL) {
128 perror("Mallocing argv"); 130 perror("Mallocing argv");