提交 08a4ae44 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

[PATCH] mxser: session warning fix

Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 037ad48b
......@@ -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);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册