lkml.org 
[lkml]   [2000]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPatch to zftape-init.c in 2.3.47-pre2
  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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.045 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site