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:
ewt 1996-10-21 02:14:17 +00:00
parent 40ce2dafe7
commit 3cc144a2f8
1 changed files with 4 additions and 1 deletions

View File

@ -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);