diff --git a/lib/sbi/sbi_fwft.c b/lib/sbi/sbi_fwft.c index 0cb165b4..c46006d4 100644 --- a/lib/sbi/sbi_fwft.c +++ b/lib/sbi/sbi_fwft.c @@ -337,7 +337,7 @@ int sbi_fwft_set(enum sbi_fwft_feature_t feature, unsigned long value, return SBI_EINVAL; if (conf->flags & SBI_FWFT_SET_FLAG_LOCK) - return SBI_EDENIED; + return SBI_EDENIED_LOCKED; ret = conf->feature->set(conf, value); if (ret)