[PATCH] mxser: session warning fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Родитель
037ad48bdb
Коммит
08a4ae44a7
|
@ -997,7 +997,7 @@ static int mxser_open(struct tty_struct *tty, struct file *filp)
|
|||
mxser_change_speed(info, NULL);
|
||||
}
|
||||
|
||||
info->session = current->signal->session;
|
||||
info->session = process_session(current);
|
||||
info->pgrp = process_group(current);
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче