]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use proper variable for device path.
authorAlexander Motin <mav@FreeBSD.org>
Wed, 28 Oct 2020 17:28:48 +0000 (17:28 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 28 Oct 2020 17:28:48 +0000 (17:28 +0000)
commit8f92938fab14f0ce6584ecece99e420aa69e4db7
treea2f140823513d26341a52771591e066af75e1164
parente4c79332a04cdcab2f81b4903864643278a10044
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