summaryrefslogtreecommitdiffstats
path: root/cli_classic.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli_classic.c')
-rw-r--r--cli_classic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli_classic.c b/cli_classic.c
index 574afff1f..bd98a07d4 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -202,6 +202,8 @@ static const char *get_wp_error_str(int err)
return "the requested protection range is not supported";
case FLASHROM_WP_ERR_RANGE_LIST_UNAVAILABLE:
return "could not determine what protection ranges are available";
+ case FLASHROM_WP_ERR_UNSUPPORTED_STATE:
+ return "can't operate on current WP configuration of the chip";
}
return "unknown WP error";
}