From: penglei <1624952103@qq.com> Date: Fri, 20 Dec 2024 12:52:47 +0000 (+0800) Subject: 修改tar文件路径为 user/log X-Git-Tag: v1.3.113-repair_tp~124^2~1 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1547%2Fhead;p=mirrors%2FFD230.git 修改tar文件路径为 user/log --- diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp index 81bee57ba..414dce23f 100644 --- a/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp @@ -390,7 +390,7 @@ namespace OHOS } // 获取死机列表 - static const char *SHUTDOWN_PATH = "/user/system/tar"; + static const char *SHUTDOWN_PATH = EXC_TAR_PATH; std::string DebugOutputViewEventListener::get_shutdown_info() { std::ostringstream oss; diff --git a/code/sdk/drivers/peripheral/utils/custom_utils.h b/code/sdk/drivers/peripheral/utils/custom_utils.h index 13df29fe5..8e47bdee3 100644 --- a/code/sdk/drivers/peripheral/utils/custom_utils.h +++ b/code/sdk/drivers/peripheral/utils/custom_utils.h @@ -20,7 +20,7 @@ extern "C" { #include "pdu.h" #ifdef SINGLE_USER_PARTITION -#define EXC_TAR_PATH "/user/system/tar" +#define EXC_TAR_PATH "/user/log" #else #define EXC_TAR_PATH "/user/tar" #endif