razor.c
changeset 162 9170be6cebf0
parent 160 00f19df51272
child 163 978c98ddb8aa
     1.1 --- a/razor.c	Tue Mar 11 11:43:54 2008 -0400
     1.2 +++ b/razor.c	Tue Mar 11 15:45:53 2008 -0400
     1.3 @@ -52,8 +52,8 @@
     1.4  struct razor_property {
     1.5  	uint name  : 24;
     1.6  	uint flags : 6;
     1.7 -	uint type  : 2;
     1.8 -	uint32_t relation;
     1.9 +	enum razor_property_type type : 2;
    1.10 +	enum razor_version_relation relation : 32;
    1.11  	uint32_t version;
    1.12  	struct list_head packages;
    1.13  };
    1.14 @@ -2683,7 +2683,7 @@
    1.15  			if (p->dep_package) {
    1.16  				printf(" which required %s",
    1.17  				       p->dep_package);
    1.18 -				if (strcmp(p->dep_property, p->name) != 0)
    1.19 +				if (strcmp(p->dep_property, p->dep_package) != 0)
    1.20  					printf(" for %s", p->dep_property);
    1.21  			}
    1.22  			printf("\n");