patch-1.3.33 linux/drivers/char/vc_screen.c
Next file: linux/drivers/net/3c503.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Oct 10 10:31:02 1995
- Orig file:
v1.3.32/linux/drivers/char/vc_screen.c
- Orig date:
Wed Aug 2 13:21:01 1995
diff -u --recursive --new-file v1.3.32/linux/drivers/char/vc_screen.c linux/drivers/char/vc_screen.c
@@ -204,9 +204,12 @@
NULL /* fsync */
};
-long vcs_init(long kmem_start)
+int vcs_init(void)
{
- if (register_chrdev(VCS_MAJOR, "vcs", &vcs_fops))
+ int error;
+
+ error = register_chrdev(VCS_MAJOR, "vcs", &vcs_fops);
+ if (error)
printk("unable to get major %d for vcs device", VCS_MAJOR);
- return kmem_start;
+ return error;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this