summaryrefslogtreecommitdiff
path: root/query.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-10-21 02:14:17 +0000
committerewt <devnull@localhost>1996-10-21 02:14:17 +0000
commit3cc144a2f83dc71f1c13bca388a8a2fde29027b4 (patch)
tree662dfadf9fcaea774983ae700cf3b58f5aa2571f /query.c
parent40ce2dafe7cb73d7163fda5df776b4c7dd914715 (diff)
downloadrpm-3cc144a2f83dc71f1c13bca388a8a2fde29027b4.tar.gz
rpm-3cc144a2f83dc71f1c13bca388a8a2fde29027b4.tar.bz2
rpm-3cc144a2f83dc71f1c13bca388a8a2fde29027b4.zip
handles RPMFILE_STATE_NETSHARED, prints number of unknown states
CVS patchset: 1124 CVS date: 1996/10/21 02:14:17
Diffstat (limited to 'query.c')
-rw-r--r--query.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/query.c b/query.c
index a816d5764..6ade08787 100644
--- a/query.c
+++ b/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);