]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use proper variable for device path.
authormav <mav@FreeBSD.org>
Wed, 28 Oct 2020 17:28:48 +0000 (17:28 +0000)
committermav <mav@FreeBSD.org>
Wed, 28 Oct 2020 17:28:48 +0000 (17:28 +0000)
commit219c6ff7cdbb5483f400b2fa62659e8345c51bd8
treea2f140823513d26341a52771591e066af75e1164
parent3d93a38eab2daeeec23be9f07f1fdffc7183be62
Use proper variable for device path.

It seems *-passthru commands were broken from the day one, since the
device path is fetched into opt.dev variable and not left in argv[optind].
The other three wrong argv[optind] instances are just in error messages.

MFC after: 1 week
Sponsored by: iXsystems, Inc.
sbin/nvmecontrol/ns.c
sbin/nvmecontrol/passthru.c
sbin/nvmecontrol/reset.c