FreeBSD Bugzilla – Attachment 173646 Details for
Bug 211823
[patch] fsck_ffs incorrectly failing in check_cgmagic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
match types for comparison
fsck_ffs_fsutil.c.diff (text/plain), 526 bytes, created by
Christian Heckendorf
on 2016-08-14 02:11:18 UTC
(
hide
)
Description:
match types for comparison
Filename:
MIME Type:
Creator:
Christian Heckendorf
Created:
2016-08-14 02:11:18 UTC
Size:
526 bytes
patch
obsolete
>diff --git a/sbin/fsck_ffs/fsutil.c b/sbin/fsck_ffs/fsutil.c >index bc80e2f..0ade19d 100644 >--- a/sbin/fsck_ffs/fsutil.c >+++ b/sbin/fsck_ffs/fsutil.c >@@ -695,7 +695,7 @@ check_cgmagic(int cg, struct bufarea *cgbp) > */ > if (cg_chkmagic(cgp) && > ((sblock.fs_magic == FS_UFS1_MAGIC && >- cgp->cg_old_niblk == sblock.fs_ipg && >+ cgp->cg_old_niblk == (int16_t)sblock.fs_ipg && > cgp->cg_ndblk <= sblock.fs_fpg && > cgp->cg_old_ncyl <= sblock.fs_old_cpg) || > (sblock.fs_magic == FS_UFS2_MAGIC &&
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 211823
: 173646