去掉文件路径打印

Signed-off-by: zhaohang <zhaohang44@huawei.com>
This commit is contained in:
zhaohang
2025-03-27 15:01:50 +08:00
parent 50970be76d
commit 49c1b547d8
+1 -1
View File
@@ -381,7 +381,7 @@ static int32_t GetPriSyscap(PCIDMain *pcidMain, cJSON *sysCapObject, int32_t con
while (*ptrPrivateSyscap != '\0') {
size_t currentLen = tempPriSyscapStr - priSyscapStr;
if (currentLen >= SINGLE_SYSCAP_LEN - 1) {
PRINT_ERR("Syscap name exceeds maximum length\n");
printf("Syscap name exceeds maximum length\n");
return GetPriSyscapResult(capVectorPtr, -1);
}
if (*ptrPrivateSyscap == ',') {