aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/platform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/platform.c b/core/platform.c
index 8f4a3b8..320fdea 100644
--- a/core/platform.c
+++ b/core/platform.c
@@ -124,7 +124,8 @@ static int64_t opal_cec_reboot2(uint32_t reboot_type, char *diag)
case OPAL_REBOOT_FAST:
prlog(PR_NOTICE, "Reboot: Fast reboot requested by OS\n");
fast_reboot();
- break;
+ prlog(PR_NOTICE, "Reboot: Fast reboot failed\n");
+ return OPAL_UNSUPPORTED;
default:
prlog(PR_NOTICE, "OPAL: Unsupported reboot request %d\n", reboot_type);
return OPAL_UNSUPPORTED;