summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c
index 93ef931..aceef38 100644
--- a/src/print.c
+++ b/src/print.c
@@ -84,6 +84,8 @@ const char *apk_error_str(int error)
return "BAD archive";
case ENOMSG:
return "archive does not contain expected data";
+ case ENOPKG:
+ return "package not available";
default:
return strerror(error);
}