代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/gazelle 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From f082b20ee9bab301fb21f2a40c32ca031f6177af Mon Sep 17 00:00:00 2001
From: yinbin6 <yinbin8@huawei.com>
Date: Tue, 26 Mar 2024 10:40:00 +0800
Subject: [PATCH] DFX: adapt testcase for gazellectl connect failed
---
src/ltran/ltran_dfx.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/ltran/ltran_dfx.c b/src/ltran/ltran_dfx.c
index 91c6063..073dfa7 100644
--- a/src/ltran/ltran_dfx.c
+++ b/src/ltran/ltran_dfx.c
@@ -361,10 +361,10 @@ static int dfx_connect_probe(void)
return 0;
}
- printf("Connect lstack(path:%s), errno: %d; Connect ltran(path:%s) failed, errno: %d\n",
+ printf("Connect lstack(path:%s) failed, errno: %d; Connect ltran(path:%s) failed, errno: %d\n",
g_lstack_unix_path, -ret2, g_ltran_unix_path, -ret1);
- printf("Please ensure the process is started; If use ltran mode, \
- set use_ltran=1 in lstack.conf, otherwise set use_ltran=0\n");
+ printf("Please ensure the process is started; If use ltran mode, "
+ "set use_ltran=1 in lstack.conf, otherwise set use_ltran=0\n");
return -1;
}
@@ -1860,7 +1860,7 @@ static int32_t parse_dfx_cmd_args(int32_t argc, char *argv[], struct gazelle_sta
if (strcmp(param, "lstack") == 0) {
ret = dfx_connect_probe();
if (ret < 0) {
- exit(0);
+ exit(-1);
}
g_use_ltran = ret;
num_cmd = parse_dfx_lstack_args(argc, argv, req_msg);
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。