From d79fb28a302177b184a5ab718a5be5e0e69d7aba Mon Sep 17 00:00:00 2001 From: wangxinpeng Date: Fri, 23 Jun 2023 20:00:56 +0800 Subject: [PATCH] change MAX_SMALL_BUFFER to fix cmdline length problem. Change-Id: Ifc878425e1e53d0d5f62bf6a70e298fd0230a9bf Signed-off-by: wangxinpeng --- services/utils/init_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/utils/init_utils.c b/services/utils/init_utils.c index fd67e1be..3a482dc5 100644 --- a/services/utils/init_utils.c +++ b/services/utils/init_utils.c @@ -32,7 +32,7 @@ #include "service_control.h" #define MAX_BUF_SIZE 1024 -#define MAX_SMALL_BUFFER 3096 +#define MAX_SMALL_BUFFER 4096 #define MAX_JSON_FILE_LEN 102400 // max init.cfg size 100KB #define CONVERT_MICROSEC_TO_SEC(x) ((x) / 1000 / 1000.0) -- GitLab