Browse Source

[PATCH] mxser: session warning fix

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton 18 years ago
parent
commit
08a4ae44a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/char/mxser_new.c

+ 1 - 1
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);
 
 	/*