]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Unify BTL parsing for `camcontrol debug` and `reset`.
authormav <mav@FreeBSD.org>
Mon, 22 Jul 2019 17:08:18 +0000 (17:08 +0000)
committermav <mav@FreeBSD.org>
Mon, 22 Jul 2019 17:08:18 +0000 (17:08 +0000)
commit494784f6691e2277b712d0fc98d9056fdaaecf5a
treec597bee64ff8b541b155c9f490469f5fcc5b3cae
parente767c4348a284f567e5a99b0a217ed0f991c8789
Unify BTL parsing for `camcontrol debug` and `reset`.

This makes `camcontrol debug` also allow peripheral device specification.

While there, make BTL parser more strict and switch from strtok() to
strsep().

MFC after: 2 weeks
sbin/camcontrol/camcontrol.8
sbin/camcontrol/camcontrol.c