SCFTYPE_LEN
char type[SCFTYPE_LEN];
if (scf_pg_get_type(pg, type, SCFTYPE_LEN) <= 0)
if (strncmp(type, SCF_GROUP_DEPENDENCY, SCFTYPE_LEN) != 0)