sandbox: Show a message when writing out the ram buffer

If state is not being written, but RAM is, we should still show a message,
so it is clear that this is happening.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2022-02-28 15:13:45 -07:00
parent b210661c86
commit d02f99dd67

View File

@ -421,6 +421,7 @@ int state_uninit(void)
{ {
int err; int err;
if (state->write_ram_buf || state->write_state)
log_info("Writing sandbox state\n"); log_info("Writing sandbox state\n");
state = &main_state; state = &main_state;