This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch releases/13.1 in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit a949b8a4a67c0a4763205536078d9fe518aae159 Author: wangjianyu3 <[email protected]> AuthorDate: Tue Sep 8 12:56:15 2026 +0800 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 <[email protected]> --- 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; }
