diff options
Diffstat (limited to 'src/services.c')
-rw-r--r-- | src/services.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services.c b/src/services.c index 2182b68..9b25bfc 100644 --- a/src/services.c +++ b/src/services.c @@ -22,6 +22,7 @@ #include <grp.h> #include "sysdeps.h" +#include <tzplatform_config.h> #define TRACE_TAG TRACE_SERVICES #include "sdb.h" @@ -236,7 +237,7 @@ void reboot_service(int fd, void *arg) #if !SDB_HOST #define EVENT_SIZE ( sizeof (struct inotify_event) ) #define BUF_LEN ( 1024 * ( EVENT_SIZE + 16 ) ) -#define CS_PATH "/opt/usr/share/crash/report" +#define CS_PATH tzplatform_mkpath(TZ_USER_SHARE,"crash/report") void inoti_service(int fd, void *arg) { |