[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:
parent
037ad48bdb
commit
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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue