This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 9c84989322ba5fc6d104cc2a426e5ba6f5e72a1f
Author: yushuailong <[email protected]>
AuthorDate: Mon Sep 21 22:50:45 2026 +0800

    sched/module: Increase /proc/modules line buffer.
    
    Increase MOD_LINELEN from 64 to 256 so complete /proc/modules lines fit the 
formatting buffer on 64-bit targets.
    
    Assisted-by: OpenAI Codex
    Signed-off-by: yushuailong <[email protected]>
---
 sched/module/mod_procfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sched/module/mod_procfs.c b/sched/module/mod_procfs.c
index 230c6f89b25..0e59509f72b 100644
--- a/sched/module/mod_procfs.c
+++ b/sched/module/mod_procfs.c
@@ -53,7 +53,7 @@
  * to handle the longest line generated by this logic.
  */
 
-#define MOD_LINELEN 64
+#define MOD_LINELEN 256
 
 /****************************************************************************
  * Private Types

Reply via email to