From 3b86850d27f2a2ec06416e6603dd8e6ae7c87165 Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Tue, 8 Sep 2026 12:56:15 +0800 Subject: [PATCH] system/nxinit: fix missing blank line after declaration in service.c nxstyle flags a missing blank line between the declaration of "s" and the first statement in option_reboot_on_failure(); pre-existing, unrelated to any behavioral change here. Assisted-by: Kiro:claude-sonnet-5 Signed-off-by: wangjianyu3 --- system/nxinit/service.c | 1 + 1 file changed, 1 insertion(+) diff --git a/system/nxinit/service.c b/system/nxinit/service.c index 8a92bb20b..52719ed95 100644 --- a/system/nxinit/service.c +++ b/system/nxinit/service.c @@ -279,6 +279,7 @@ static int option_reboot_on_failure(FAR struct service_manager_s *sm, { FAR struct service_s *s = list_last_entry(&sm->services, struct service_s, node); + s->reset_reason = atoi(argv[1]); return 0; }