提交 82ab315a 编写于 作者: H hu-jixiang1

Openharmony3.1.5.5 Hi3516DV300 L1 Lite条件宏编译告警问题修复上库

Signed-off-by: Nhu-jixiang1 <hujixiang1@huawei.com>
Change-Id: I04fa729f97f8919dc40deae16ec7b7c1fd346476
上级 c1bb5e6d
......@@ -451,7 +451,10 @@ static int CapgetWithVersion(pid_t pid, unsigned int version)
}
return 0;
}
#endif
#if (defined(_BOARD_HI3516_) && defined(LITE_FS_VFAT)) ||
(!defined(_BOARD_HI3516_) && (defined(LITE_FS_JFFS2) || defined(LITE_FS_VFAT)))
static int CapgetWithCaps(pid_t pid, unsigned int caps)
{
struct __user_cap_header_struct capheader = { 0 };
......
......@@ -42,7 +42,6 @@ static void CreateDevDir()
static void CreateDevTxt()
{
int ret;
int fd = 0;
// Initialize the process and set the uid and gid of the process to zero
SetUidGid(UID0, GID0);
// Create a directory 'DACDIR0' in the directory '/storage'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册