Patch to zftape-init.c in 2.3.47-pre2

From: Richard Gooch (rgooch@atnf.csiro.au)
Date: Thu Feb 17 2000 - 17:34:27 EST


  Hi, all. I just noticed this little patchlet:
diff -u --recursive --new-file v2.3.46/linux/drivers/char/ftape/zftape/zftape-in
it.c linux/drivers/char/ftape/zftape/zftape-init.c
--- v2.3.46/linux/drivers/char/ftape/zftape/zftape-init.c Wed Feb 16 17:03
:51 2000
+++ linux/drivers/char/ftape/zftape/zftape-init.c Thu Feb 17 09:56:46 2000
@@ -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,

8 characters was more than enough. I was wondering why this was
changed? Just curious.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:19 EST