summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host/lib/crossystem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c
index 8ac5e537..a7b04b99 100644
--- a/host/lib/crossystem.c
+++ b/host/lib/crossystem.c
@@ -473,6 +473,9 @@ int VbGetSystemPropertyInt(const char *name)
} else if (!strcasecmp(name, "wpsw_cur")) {
/* Use "write-protect at boot" as a fallback value. */
value = GetVdatInt(VDAT_INT_HW_WPSW_BOOT);
+ fprintf(stderr,
+ "Fallback to WPSW_BOOT (%d), which may be invalid\n",
+ value);
} else if (!strcasecmp(name,"vdat_flags")) {
value = GetVdatInt(VDAT_INT_FLAGS);
} else if (!strcasecmp(name,"tpm_fwver")) {