summaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common')
-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 a0a86aa..c7dab08 100644
--- a/lib/common/perror.c
+++ b/lib/common/perror.c
@@ -61,6 +61,9 @@ void sqfs_perror(const char *file, const char *action, int error_code)
case SQFS_ERROR_ARG_INVALID:
errstr = "invalid argument";
break;
+ case SQFS_ERROR_SEQUENCE:
+ errstr = "illegal oder of operations";
+ break;
default:
errstr = "libsquashfs returned an unknown error code";
break;