#include "line.h"
#include "ssl.h"
#include "chan_kern.h"
-#include "kern_util.h"
-#include "kern.h"
#include "init.h"
#include "irq_user.h"
#include "mconsole_kern.h"
static int ssl_open(struct tty_struct *tty, struct file *filp)
{
- return line_open(serial_lines, tty);
+ int err = line_open(serial_lines, tty);
+
+ if (err)
+ printk(KERN_ERR "Failed to open serial line %d, err = %d\n",
+ tty->index, err);
+
+ return err;
}
#if 0