From 3563808e9c0d68107c23e8808632030fdfb045fe Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Fri, 20 Dec 2024 20:52:47 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9tar=E6=96=87=E4=BB=B6=E8=B7=AF?= =?utf8?q?=E5=BE=84=E4=B8=BA=20user/log?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../debug_output_notification/debug_output_notification.cpp | 2 +- code/sdk/drivers/peripheral/utils/custom_utils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.17.1