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-09-20 15:59:20 +05:30
2007-10-16 09:43:05 -07:00
2009-12-16 07:20:12 -08:00
2009-04-01 08:59:17 -07:00
2009-12-16 07:20:12 -08:00
2008-02-23 17:12:13 -08:00
2009-04-21 13:41:50 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-29 08:46:26 -07:00