Make bioctl properly verify raidlevels specified via the -c option.
authorstsp <stsp@openbsd.org>
Mon, 8 Feb 2021 19:05:05 +0000 (19:05 +0000)
committerstsp <stsp@openbsd.org>
Mon, 8 Feb 2021 19:05:05 +0000 (19:05 +0000)
commitf1c55410fda2b0d125a0102e4c78ba4b89e335c2
tree47b734caaaee14c1cf1060a6458deba90cb60db6
parent4d1c75807ccd1ac959c2feafcc2c1df7b4c95f8b
Make bioctl properly verify raidlevels specified via the -c option.

Trailing characters in the option argument were ignored, such that
-cC1 (typo of -c1C) was interpreted as -cC instead of being rejected.

ok jsing@
sbin/bioctl/bioctl.c