forked from pool/e2fsprogs
14 lines
421 B
Diff
14 lines
421 B
Diff
diff --git a/e2fsck/recovery.c b/e2fsck/recovery.c
|
|
index 22e79a5..f7fd7b6 100644
|
|
--- a/e2fsck/recovery.c
|
|
+++ b/e2fsck/recovery.c
|
|
@@ -473,7 +473,7 @@ static int do_one_pass(journal_t *journal,
|
|
memcpy(nbh->b_data, obh->b_data,
|
|
journal->j_blocksize);
|
|
if (flags & JFS_FLAG_ESCAPE) {
|
|
- *((unsigned int *)bh->b_data) =
|
|
+ *((unsigned int *)nbh->b_data) =
|
|
htonl(JFS_MAGIC_NUMBER);
|
|
}
|
|
|