Change-Id: I32fda9bdf16ecde5bf8557a9e3bc9c71e18f66b6
Signed-off-by: hb.min <hb.min@samsung.com>
int index = 0;
TryReturn(privilege_group != NULL, PRVMGR_ERR_INVALID_PARAMETER, "[PRVMGR_ERR_INVALID_PARAMETER] privilege is NULL");
- for (index = 0; index < PRIVILEGE_NUM; index++)
+ for (index = 0; index < MAX_PRV_GROUP; index++)
{
if (strncmp(privilege_group_info_table[index].privilege_group, privilege_group, strlen(privilege_group)) == 0)
{