diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-23 11:35:40 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-23 11:35:40 +0300 |
commit | a388f4bfa6e92a06d95de576aee94f2ae5695cfe (patch) | |
tree | a9c6266888ab79be0c49715efabec769802816fa /src/apk.c | |
parent | 90aaa28a95f28206e6bf4ed0d5a798595165cb8c (diff) | |
download | apk-tools-a388f4bfa6e92a06d95de576aee94f2ae5695cfe.tar.gz apk-tools-a388f4bfa6e92a06d95de576aee94f2ae5695cfe.tar.bz2 apk-tools-a388f4bfa6e92a06d95de576aee94f2ae5695cfe.tar.xz apk-tools-a388f4bfa6e92a06d95de576aee94f2ae5695cfe.zip |
index: more informative error message
when failed to load an existing index.
Diffstat (limited to 'src/apk.c')
-rw-r--r-- | src/apk.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -67,6 +67,8 @@ const char *apk_error_str(int error) return "IO ERROR"; case EBADMSG: return "BAD archive"; + case ENOMSG: + return "archive does not contain expected data"; default: return strerror(error); } |