aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mkfs/f2fs_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c
index cb5379a..66d7342 100644
--- a/mkfs/f2fs_format.c
+++ b/mkfs/f2fs_format.c
@@ -432,7 +432,7 @@ static int f2fs_write_check_point_pack(void)
}
sum_compact = calloc(F2FS_BLKSIZE, 1);
- if (sum == NULL) {
+ if (sum_compact == NULL) {
MSG(1, "\tError: Calloc Failed for summay buffer!!!\n");
goto free_sum;
}