Alexander Beregalov 03315b5916 uml: line.c: avoid NULL pointer dereference
Assign tty only if line is not NULL.

[akpm@linux-foundation.org: simplification]
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:28 -08:00
..
2009-10-14 15:35:51 +02:00
2009-10-14 15:35:51 +02:00
2009-06-25 11:22:13 -07:00
2009-06-25 11:22:13 -07:00