]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] mxser: session warning fix
authorAndrew Morton <akpm@osdl.org>
Fri, 8 Dec 2006 10:38:12 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:53 +0000 (08:28 -0800)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser_new.c

index a3aff0bd8e23167829007c488fbea093df7aa094..aae4cb31b9ac89a9e01735a39eb47b5ed1d7ca5c 100644 (file)
@@ -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);
 
        /*