summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c
index d57b1ce9ab..4bd70400d0 100644
--- a/common/system.c
+++ b/common/system.c
@@ -582,7 +582,7 @@ void system_common_pre_init(void)
* because it might change panic pointer.
*/
if (system_get_reset_flags() & RESET_FLAG_WATCHDOG)
- panic_log_watchdog();
+ panic_set_reason(PANIC_SW_WATCHDOG, 0, 0);
#endif
/*