CVS commit: [netbsd-10] src/sbin/raidctl
"Martin Husemann" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: martin Date: Wed Mar 4 19:44:05 UTC 2026 Modified Files: src/sbin/raidctl [netbsd-10]: raidctl.c Log Message: Pull up following revision(s) (requested by joe in ticket #1242): sbin/raidctl/raidctl.c: revision 1.87 use proper string conversion for RAID level using create method using atoi returns 0 for any non-integer passed to it. this could configure RAID 0 in the kernel which was not intended for when one mistakenly passes a non-integer string. uses an internal conversion function that produces proper error message. To generate a diff of this commit: cvs rdiff -u -r1.78.2.2 -r1.78.2.3 src/sbin/raidctl/raidctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.