mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2025-02-17 02:29:23 +00:00
fix: 修改枚举值
Signed-off-by: yangkan <yangkan4@h-partners.com>
This commit is contained in:
parent
95ed08b2e8
commit
4d9be20f4b
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user