]> err.no Git - systemd/commit
floppy: fix array bounds check and minor calculation
authorPeter Breitenlohner <peb@mppmu.mpg.de>
Sun, 23 Nov 2008 16:22:32 +0000 (17:22 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sun, 23 Nov 2008 16:22:32 +0000 (17:22 +0100)
commit013332b93c880692e51d1056528c805fd7e4a882
treefc46ee2ea594b515748e10f8b3f6f95e92891140
parent6733f60178cc67d5064583d433335ce8fb25eae1
floppy: fix array bounds check and minor calculation

Fix off-by-4 bug in floppy minors for fd[4-7].
Avoid segmentation fault for bad CMOS type.
Print mode in human readable, i.e., octal form.
extras/floppy/create_floppy_devices.c