diff options
author | pfg <pfg@FreeBSD.org> | 2013-12-11 19:25:17 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-12-11 19:25:17 +0000 |
commit | de938e4059cac64f6b3db3f757aeed24ca149f05 (patch) | |
tree | a797eda1cd0feac0206bc7781083c6804060cd74 /sbin/growfs | |
parent | 4c7f14937f70cb9c4c3cc0f3179a5ee639a7152f (diff) | |
download | FreeBSD-src-de938e4059cac64f6b3db3f757aeed24ca149f05.zip FreeBSD-src-de938e4059cac64f6b3db3f757aeed24ca149f05.tar.gz |
MFC r256448, r257029;
Make di_blocks unsigned in UFS1 as is the case already for UFS2.
Most of the code between UFS1 and UFS2 is shared so this change
is pretty safe. Not only this makes UFS1 and 2 consistent but it
also matches what NetBSD and MacOS X have for some years now.
UFS2: make di_extsize unsigned.
di_extsize is the EA size and as such it should be unsigned.
Adjust related types for consistency.
Reviewed by: mckusick
Diffstat (limited to 'sbin/growfs')
-rw-r--r-- | sbin/growfs/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/growfs/debug.c b/sbin/growfs/debug.c index 26a5668..55e2b13 100644 --- a/sbin/growfs/debug.c +++ b/sbin/growfs/debug.c @@ -765,7 +765,7 @@ dbg_dump_ufs2_ino(struct fs *sb, const char *comment, struct ufs2_dinode *ino) fprintf(dbg_log, "gen int32_t 0x%08x\n", ino->di_gen); fprintf(dbg_log, "kernflags u_int32_t 0x%08x\n", ino->di_kernflags); fprintf(dbg_log, "flags u_int32_t 0x%08x\n", ino->di_flags); - fprintf(dbg_log, "extsize int32_t 0x%08x\n", ino->di_extsize); + fprintf(dbg_log, "extsize u_int32_t 0x%08x\n", ino->di_extsize); /* XXX: What do we do with di_extb[NXADDR]? */ |