proc: fix errors, enter userspace
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
b279d0a06a
commit
c7fa9a75fa
15 changed files with 86 additions and 8 deletions
|
|
@ -45,6 +45,9 @@ struct tty *tty_tee_create(const char *name)
|
|||
|
||||
void tty_tee_add(struct tty *tee, struct tty *child)
|
||||
{
|
||||
if (!child)
|
||||
return;
|
||||
|
||||
list_t *list = tee->priv;
|
||||
list_insert(list, child);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue