patch-2.1.113 linux/fs/devices.c

Next file: linux/fs/filesystems.c
Previous file: linux/fs/coda/upcall.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.112/linux/fs/devices.c linux/fs/devices.c
@@ -49,13 +49,13 @@
 	len = sprintf(page, "Character devices:\n");
 	for (i = 0; i < MAX_CHRDEV ; i++) {
 		if (chrdevs[i].fops) {
-			len += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name);
+			len += sprintf(page+len, "%3d %s\n", i, chrdevs[i].name);
 		}
 	}
 	len += sprintf(page+len, "\nBlock devices:\n");
 	for (i = 0; i < MAX_BLKDEV ; i++) {
 		if (blkdevs[i].fops) {
-			len += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name);
+			len += sprintf(page+len, "%3d %s\n", i, blkdevs[i].name);
 		}
 	}
 	return len;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov