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
..
2008-04-28 08:58:28 -07:00
2008-05-13 08:02:22 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:08 -07:00
2008-05-13 08:02:22 -07:00
2008-07-02 15:06:26 -06:00
2008-05-13 08:02:21 -07:00
2007-10-16 09:43:08 -07:00
2009-10-14 15:35:51 +02:00
2008-05-13 08:02:22 -07:00
2007-10-20 01:23:03 +02:00
2008-05-21 16:55:57 -07:00
2009-04-01 08:59:17 -07:00
2009-04-01 08:59:17 -07:00
2008-05-13 08:02:22 -07:00
2009-10-14 15:35:51 +02:00
2009-06-25 11:22:13 -07:00
2006-09-27 08:26:15 -07:00
2009-06-25 11:22:13 -07:00
2008-02-05 09:44:30 -08:00
2006-09-27 08:26:15 -07:00
2008-02-05 09:44:26 -08:00
2009-04-01 08:59:17 -07:00
2007-10-20 01:23:03 +02:00
2009-04-01 08:59:17 -07:00
2008-05-13 08:02:22 -07:00
2008-02-05 09:44:26 -08:00
2007-10-16 09:43:05 -07:00
2007-07-16 09:05:38 -07:00
2008-05-13 08:02:22 -07:00
2009-04-01 08:59:17 -07:00