From: Andreas Reichel <[email protected]> ustate is an 8-bit int, not a 16-bit int.
Signed-off-by: Andreas Reichel <[email protected]> --- env/env_api_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/env_api_fat.c b/env/env_api_fat.c index 1790d43..c007eb0 100644 --- a/env/env_api_fat.c +++ b/env/env_api_fat.c @@ -282,7 +282,7 @@ int bgenv_get(BGENV *env, char *key, uint64_t *type, void *data, src = env->data->revision; goto bgenv_get_uint; case EBGENV_USTATE: - t = USERVAR_TYPE_UINT16; + t = USERVAR_TYPE_UINT8; src = env->data->ustate; goto bgenv_get_uint; case EBGENV_IN_PROGRESS: -- 2.15.0 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20171122115942.960-8-andreas.reichel.ext%40siemens.com. For more options, visit https://groups.google.com/d/optout.
