Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/sbin/raidctl



Module Name:    src
Committed By:   martin
Date:           Wed Mar  4 19:42:45 UTC 2026

Modified Files:
        src/sbin/raidctl [netbsd-11]: raidctl.c

Log Message:
Pull up following revision(s) (requested by joe in ticket #196):

        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.86 -r1.86.2.1 src/sbin/raidctl/raidctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index