aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/libubifs/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubifs-utils/libubifs/scan.c')
-rw-r--r--ubifs-utils/libubifs/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubifs-utils/libubifs/scan.c b/ubifs-utils/libubifs/scan.c
index 74509fd..e9581a6 100644
--- a/ubifs-utils/libubifs/scan.c
+++ b/ubifs-utils/libubifs/scan.c
@@ -344,6 +344,7 @@ corrupted:
}
err = -EUCLEAN;
ubifs_scan_destroy(sleb);
+ set_failure_reason_callback(c, FR_DATA_CORRUPTED);
return ERR_PTR(err);
error: