diff options
author | Davide Brini <davide.brini@unibo.it> | 2007-05-06 17:51:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:02 -0400 |
commit | 57ac895a7f22d235f637317f58a2d9ba6ec91a27 (patch) | |
tree | 241615a77e09f501cc758bf0780052f859237d2a /arch/um/drivers/stdio_console.c | |
parent | c74c69b442364125fd13259ecaa4cd2ee43b9172 (diff) |
uml: fix umid in xterm titles
Calls lines_init() *after* xterm_title is modified to include umid.
Signed-off-by: Davide Brini <davide.brini@unibo.it>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Acked-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/stdio_console.c')
-rw-r--r-- | arch/um/drivers/stdio_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |