]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
ocp: fix eol-plp-failure-mode command sel option value
authorTokunori Ikegami <ikegami.t@gmail.com>
Sun, 7 Jul 2024 09:11:05 +0000 (18:11 +0900)
committerDaniel Wagner <wagi@monom.org>
Wed, 10 Jul 2024 06:37:24 +0000 (08:37 +0200)
Since the select value 8 as changed not supported by the command.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
plugins/ocp/ocp-nvme.c

index 5f7b75520ee876d053703c71f04597682e7160c0..cca6f3acf497add8fd43b2055e8153dc8a242202 100644 (file)
@@ -766,7 +766,7 @@ static int eol_plp_failure_mode(int argc, char **argv, struct command *cmd,
                           "No argument prints current mode.";
        const char *mode = "[0-3]: default/rom/wtm/normal";
        const char *save = "Specifies that the controller shall save the attribute";
-       const char *sel = "[0-3,8]: current/default/saved/supported/changed";
+       const char *sel = "[0-3]: current/default/saved/supported";
        const __u32 nsid = 0;
        const __u8 fid = 0xc2;
        struct nvme_dev *dev;