diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-04-24 09:31:28 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-04-24 09:32:22 +0300 |
commit | fd98e9c7189a18b27935f92449dea58962e6cbdd (patch) | |
tree | f89aa4f26d9dd2b2015a3b966b9229c1ded10b85 /src/print.c | |
parent | 74dc8e232f1637c8fc1eaed4e5c1cd7ac946f049 (diff) | |
download | apk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.tar.gz apk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.tar.bz2 apk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.tar.xz apk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.zip |
modifications for the previous commit in error message handling
forgot to --amend my changes
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print.c b/src/print.c index e0681ee..3e2a570 100644 --- a/src/print.c +++ b/src/print.c @@ -143,15 +143,15 @@ const char *apk_error_str(int error) case ENXIO: return "DNS lookup error"; case EREMOTEIO: - return "error code returned by repo server (try 'apk update')"; + return "remote server returned error (try 'apk update')"; case ETIMEDOUT: return "operation timed out"; case EAGAIN: return "temporary error (try again later)"; - case EINVAL: + case EAPKBADURL: return "invalid URL (check your repositories file)"; case EAPKSTALEINDEX: - return "file not available from repo server (try 'apk update')"; + return "package mentioned in index not found (try 'apk update')"; default: return strerror(error); } |