]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r350214: Unify BTL parsing for `camcontrol debug` and `reset`.
authorAlexander Motin <mav@FreeBSD.org>
Thu, 8 Aug 2019 02:26:12 +0000 (02:26 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 8 Aug 2019 02:26:12 +0000 (02:26 +0000)
commit53cfa46913d9815e544093689e57de432e9629ee
tree9c304c2a0a1230ab718672a7fcb8b14ee92b3a1f
parent237a27d0698d6a93908a92b38f24e726e0a3c565
MFC r350214: 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().
sbin/camcontrol/camcontrol.8
sbin/camcontrol/camcontrol.c