Source-Changes archive

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

CVS commit: src/sbin/raidctl



Module Name:    src
Committed By:   joe
Date:           Sat Feb 14 17:02:19 UTC 2026

Modified Files:
        src/sbin/raidctl: raidctl.c

Log Message:
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.

pullup 10 and 11


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 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