aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/um/drivers/ssl.c4
-rw-r--r--arch/um/drivers/stdio_console.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c
index 94faadc5ea1b..fd09ad9e9c0a 100644
--- a/arch/um/drivers/ssl.c
+++ b/arch/um/drivers/ssl.c
@@ -191,12 +191,12 @@ static int ssl_init(void)
191 ssl_driver = register_lines(&driver, &ssl_ops, serial_lines, 191 ssl_driver = register_lines(&driver, &ssl_ops, serial_lines,
192 ARRAY_SIZE(serial_lines)); 192 ARRAY_SIZE(serial_lines));
193 193
194 lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
195
196 new_title = add_xterm_umid(opts.xterm_title); 194 new_title = add_xterm_umid(opts.xterm_title);
197 if (new_title != NULL) 195 if (new_title != NULL)
198 opts.xterm_title = new_title; 196 opts.xterm_title = new_title;
199 197
198 lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
199
200 ssl_init_done = 1; 200 ssl_init_done = 1;
201 register_console(&ssl_cons); 201 register_console(&ssl_cons);
202 return 0; 202 return 0;
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c
index 90a2c5cc17d4..2bb4193ac1aa 100644
--- a/arch/um/drivers/stdio_console.c
+++ b/arch/um/drivers/stdio_console.c
@@ -166,12 +166,12 @@ int stdio_init(void)
166 return -1; 166 return -1;
167 printk(KERN_INFO "Initialized stdio console driver\n"); 167 printk(KERN_INFO "Initialized stdio console driver\n");
168 168
169 lines_init(vts, ARRAY_SIZE(vts), &opts);
170
171 new_title = add_xterm_umid(opts.xterm_title); 169 new_title = add_xterm_umid(opts.xterm_title);
172 if(new_title != NULL) 170 if(new_title != NULL)
173 opts.xterm_title = new_title; 171 opts.xterm_title = new_title;
174 172
173 lines_init(vts, ARRAY_SIZE(vts), &opts);
174
175 con_init_done = 1; 175 con_init_done = 1;
176 register_console(&stdiocons); 176 register_console(&stdiocons);
177 return 0; 177 return 0;