diff options
Diffstat (limited to 'core/platform.c')
-rw-r--r-- | core/platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/platform.c b/core/platform.c index 2544f0c..97bc7cb 100644 --- a/core/platform.c +++ b/core/platform.c @@ -94,10 +94,10 @@ static int64_t opal_cec_reboot2(uint32_t reboot_type, char *diag) "OPAL: Reboot requested due to Platform error."); if (diag) { /* Add user section "DESC" */ - log_add_section(buf, 0x44455350); + log_add_section(buf, 0x44455343); log_append_data(buf, diag, strlen(diag)); - log_commit(buf); } + log_commit(buf); } else { prerror("OPAL: failed to log an error\n"); } |