handles RPMFILE_STATE_NETSHARED, prints number of unknown states
CVS patchset: 1124 CVS date: 1996/10/21 02:14:17
This commit is contained in:
parent
40ce2dafe7
commit
3cc144a2f8
5
query.c
5
query.c
|
@ -414,10 +414,13 @@ static void printHeader(Header h, int queryFlags, char * queryFormat) {
|
|||
fputs("normal ", stdout); break;
|
||||
case RPMFILE_STATE_REPLACED:
|
||||
fputs("replaced ", stdout); break;
|
||||
case RPMFILE_STATE_NETSHARED:
|
||||
fputs("net shared ", stdout); break;
|
||||
case RPMFILE_STATE_NOTINSTALLED:
|
||||
fputs("not installed ", stdout); break;
|
||||
default:
|
||||
fputs("(unknown) ", stdout);
|
||||
printf("(unknown %3d) ",
|
||||
fileStatesList[i]);
|
||||
}
|
||||
} else {
|
||||
fputs( "(no state) ", stdout);
|
||||
|
|
Loading…
Reference in New Issue