patch-2.3.47 linux/drivers/char/ftape/zftape/zftape-init.c

Next file: linux/drivers/char/h8.c
Previous file: linux/drivers/char/console.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/drivers/char/ftape/zftape/zftape-init.c linux/drivers/char/ftape/zftape/zftape-init.c
@@ -436,7 +436,7 @@
 	TRACE_CATCH(devfs_register_chrdev(QIC117_TAPE_MAJOR, "zft", &zft_cdev),);
 
 	for (i = 0; i < 4; i++) {
-		char devname[8];
+		char devname[9];
 
 		sprintf (devname, "qft%i", i);
 		devfs_register (NULL, devname, 0, DEVFS_FL_NONE,
@@ -510,7 +510,7 @@
 void cleanup_module(void)
 {
 	int i;
-	char devname[8];
+	char devname[9];
 
 	TRACE_FUN(ft_t_flow);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)