aboutsummaryrefslogtreecommitdiff
path: root/lib/common/perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/perror.c')
-rw-r--r--lib/common/perror.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common/perror.c b/lib/common/perror.c
index 9b9f041..a0a86aa 100644
--- a/lib/common/perror.c
+++ b/lib/common/perror.c
@@ -58,6 +58,9 @@ void sqfs_perror(const char *file, const char *action, int error_code)
case SQFS_ERROR_NOT_FILE:
errstr = "target is not a file";
break;
+ case SQFS_ERROR_ARG_INVALID:
+ errstr = "invalid argument";
+ break;
default:
errstr = "libsquashfs returned an unknown error code";
break;