@@ -313,7 +313,7 @@ static void display_expr(const cond_expr_t * exp)
switch (cur->expr_type) {
case COND_BOOL:
printf("%s ",
- policydbp->p_bool_val_to_name[cur->bool - 1]);
+ policydbp->p_bool_val_to_name[cur->boolean - 1]);
break;
case COND_NOT:
printf("! ");
@@ -4126,7 +4126,7 @@ cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void *arg2)
free(id);
return NULL;
}
- expr->bool = bool_var->s.value;
+ expr->boolean = bool_var->s.value;
free(id);
return expr;
default:
@@ -400,7 +400,7 @@ static void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp)
switch (cur->expr_type) {
case COND_BOOL:
fprintf(fp, "%s ",
- p->p_bool_val_to_name[cur->bool - 1]);
+ p->p_bool_val_to_name[cur->boolean - 1]);
break;
case COND_NOT:
fprintf(fp, "! ");
@@ -197,7 +197,7 @@ static void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp)
switch (cur->expr_type) {
case COND_BOOL:
fprintf(fp, "%s ",
- p->p_bool_val_to_name[cur->bool - 1]);
+ p->p_bool_val_to_name[cur->boolean - 1]);
break;
case COND_NOT:
fprintf(fp, "! ");
Signed-off-by: Christian Göttsche <cgzones@googlemail.com> --- checkpolicy/checkpolicy.c | 2 +- checkpolicy/policy_define.c | 2 +- checkpolicy/test/dismod.c | 2 +- checkpolicy/test/dispol.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)