summaryrefslogtreecommitdiffstats
path: root/drivers/char/mxser_new.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-08 02:38:12 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:28:53 -0800
commit08a4ae44a7f5a0106c38de95adfd31b2a654b109 (patch)
tree3abb18897e7ccaafed403795310c34b41567fac3 /drivers/char/mxser_new.c
parent037ad48bdb5bb009cbc49b1ad49ed78877df2d57 (diff)
[PATCH] mxser: session warning fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/mxser_new.c')
-rw-r--r--drivers/char/mxser_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index a3aff0bd8e2..aae4cb31b9a 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -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);
/*