]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
ocp: fix option handling in internal-log
authorTetsuya TAKAHASHI <tetsuya20.takahashi@kioxia.com>
Fri, 27 Sep 2024 01:50:54 +0000 (10:50 +0900)
committerDaniel Wagner <wagi@monom.org>
Wed, 2 Oct 2024 07:55:25 +0000 (09:55 +0200)
commit2371a4f26edcad6aa3fb1d734cbcd5b345fa052d
tree1f1902dad49eb30693290f07ac2186d9f885c8d3
parentbed555019316372047f9b99e01339904f3e0865c
ocp: fix option handling in internal-log

When the noraml format is specified without -t option to
ocp internal-log command, the command ends abnormally with
segmentation fault.
This commit fixes the option handling.

Signed-off-by: Tetsuya TAKAHASHI <tetsuya20.takahashi@kioxia.com>
plugins/ocp/ocp-nvme.c