diff options
author | root <devnull@localhost> | 1996-04-05 17:35:45 +0000 |
---|---|---|
committer | root <devnull@localhost> | 1996-04-05 17:35:45 +0000 |
commit | 51c14bb24858aab6447b3a8631b445c388a2a6bc (patch) | |
tree | 8f079d28a208f458bbc5586486ccb9ccdc9e5a31 /query.c | |
parent | 9b4667fe91e6ae08dbf44b59a411d61f507d7202 (diff) | |
download | rpm-51c14bb24858aab6447b3a8631b445c388a2a6bc.tar.gz rpm-51c14bb24858aab6447b3a8631b445c388a2a6bc.tar.bz2 rpm-51c14bb24858aab6447b3a8631b445c388a2a6bc.zip |
added more intelligent error messages for bad magic
CVS patchset: 528
CVS date: 1996/04/05 17:35:45
Diffstat (limited to 'query.c')
-rw-r--r-- | query.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -439,7 +439,11 @@ int doQuery(char * prefix, enum querysources source, int queryFlags, } break; case 1: - fprintf(stderr, "%s is not an RPM\n", arg); + fprintf(stderr, "%s does not appear to be a RPM package\n", + arg); + /* fallthrough */ + case 2: + fprintf(stderr, "query of %s failed\n", arg); retcode = 1; } |