!1698 修改枚举值

Merge pull request !1698 from 樊景乐/master
This commit is contained in:
openharmony_ci 2024-11-12 12:27:11 +00:00 committed by Gitee
commit 8754d28edd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -67,7 +67,7 @@ static int WriteEncapsInfo(int fd, AppSpawnEncapsBaseType encapsType, const char
int ret = 0;
switch (encapsType) {
case ENCAPS_MAX_TYPE_MODE:
case ENCAPS_PROC_TYPE_MODE:
ret = ioctl(fd, SET_ENCAPS_PROC_TYPE_CMD, &flag);
break;
case ENCAPS_PERMISSION_TYPE_MODE: