diff options
author | ewt <devnull@localhost> | 1996-10-21 02:14:17 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-10-21 02:14:17 +0000 |
commit | 3cc144a2f83dc71f1c13bca388a8a2fde29027b4 (patch) | |
tree | 662dfadf9fcaea774983ae700cf3b58f5aa2571f /query.c | |
parent | 40ce2dafe7cb73d7163fda5df776b4c7dd914715 (diff) | |
download | rpm-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |