projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be0b405
)
修改tar文件路径为 user/log
1547/1
1547/head
author
penglei
<1624952103@qq.com>
Fri, 20 Dec 2024 12:52:47 +0000
(20:52 +0800)
committer
penglei
<1624952103@qq.com>
Fri, 20 Dec 2024 12:52:47 +0000
(20:52 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp
patch
|
blob
|
history
code/sdk/drivers/peripheral/utils/custom_utils.h
patch
|
blob
|
history
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
81bee57
..
414dce2
100644
(file)
--- 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
13df29f
..
8e47bde
100644
(file)
--- 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