aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/main.c')
-rw-r--r--arch/um/kernel/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/main.c b/arch/um/kernel/main.c
index 1e1a87f1c51..d31027f0fe3 100644
--- a/arch/um/kernel/main.c
+++ b/arch/um/kernel/main.c
@@ -97,7 +97,7 @@ int main(int argc, char **argv, char **envp)
exit(1);
}
-#ifdef UML_CONFIG_MODE_TT
+#ifdef UML_CONFIG_CMDLINE_ON_HOST
/* Allocate memory for thread command lines */
if(argc < 2 || strlen(argv[1]) < THREAD_NAME_LEN - 1){