summaryrefslogtreecommitdiff
path: root/lib/cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cpio.c')
-rw-r--r--lib/cpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cpio.c b/lib/cpio.c
index c72c5361d..24bb52e89 100644
--- a/lib/cpio.c
+++ b/lib/cpio.c
@@ -235,6 +235,8 @@ const char *const cpioStrerror(int rc)
case CPIOERR_MD5SUM_MISMATCH: s = _("MD5 sum mismatch"); break;
case CPIOERR_INTERNAL: s = _("Internal error"); break;
case CPIOERR_UNMAPPED_FILE: s = _("Archive file not in header"); break;
+ case CPIOERR_ENOENT: s = strerror(ENOENT); break;
+ case CPIOERR_ENOTEMPTY: s = strerror(ENOTEMPTY); break;
}
/*@=branchstate@*/