summaryrefslogtreecommitdiffstats
path: root/src/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/package.c')
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index 1c9ff3d..1d2e50a 100644
--- a/src/package.c
+++ b/src/package.c
@@ -723,7 +723,7 @@ int apk_pkg_read(struct apk_database *db, const char *file,
if (r < 0 && r != -ECANCELED)
goto err;
if (ctx.pkg->name == NULL) {
- r = -EBADMSG;
+ r = -ENOMSG;
goto err;
}
if (sctx->action != APK_SIGN_VERIFY)