K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-27T00:57:25.000000Z K 7 svn:log V 400 In the VIRTUAL_TTY macro, add a check to make sure that the result of SC_DEV isn't NULL; if it is, evaluate to NULL and don't dereference NULL. Callers of VIRTUAL_TTY must already check for the result being NULL since si_tty can be NULL, so this should be safe. This fixes a panic when trying to switch to a different vty in an environment such as userconfig (-c option to the kernel). PR: 26508 END