summaryrefslogtreecommitdiffstats
path: root/sbin/newfs_msdos
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-02-12 18:29:56 +0000
committered <ed@FreeBSD.org>2012-02-12 18:29:56 +0000
commit23524b572c9490078007a68a1760546e22a8184d (patch)
treeac73d0fee5bb41748009d87a44b179ab6b7d87bc /sbin/newfs_msdos
parentf5c5ba680655abbc307ee2fa88397fc168cbdcad (diff)
downloadFreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.zip
FreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.tar.gz
Globally replace u_int*_t from (non-contributed) man pages.
The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people will be less tempted to write new code that uses the non-standard types. I am not going to bump the man page dates, as these changes can be considered style nits. The meaning of the man pages is unaffected. MFC after: 1 month
Diffstat (limited to 'sbin/newfs_msdos')
-rw-r--r--sbin/newfs_msdos/newfs_msdos.836
1 files changed, 18 insertions, 18 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.8 b/sbin/newfs_msdos/newfs_msdos.8
index 5896992..ce51113 100644
--- a/sbin/newfs_msdos/newfs_msdos.8
+++ b/sbin/newfs_msdos/newfs_msdos.8
@@ -180,27 +180,27 @@ For reference purposes, this structure is presented
below.
.Bd -literal
struct bsbpb {
- u_int16_t bpbBytesPerSec; /* [-S] bytes per sector */
- u_int8_t bpbSecPerClust; /* [-c] sectors per cluster */
- u_int16_t bpbResSectors; /* [-r] reserved sectors */
- u_int8_t bpbFATs; /* [-n] number of FATs */
- u_int16_t bpbRootDirEnts; /* [-e] root directory entries */
- u_int16_t bpbSectors; /* [-s] total sectors */
- u_int8_t bpbMedia; /* [-m] media descriptor */
- u_int16_t bpbFATsecs; /* [-a] sectors per FAT */
- u_int16_t bpbSecPerTrack; /* [-u] sectors per track */
- u_int16_t bpbHeads; /* [-h] drive heads */
- u_int32_t bpbHiddenSecs; /* [-o] hidden sectors */
- u_int32_t bpbHugeSectors; /* [-s] big total sectors */
+ uint16_t bpbBytesPerSec; /* [-S] bytes per sector */
+ uint8_t bpbSecPerClust; /* [-c] sectors per cluster */
+ uint16_t bpbResSectors; /* [-r] reserved sectors */
+ uint8_t bpbFATs; /* [-n] number of FATs */
+ uint16_t bpbRootDirEnts; /* [-e] root directory entries */
+ uint16_t bpbSectors; /* [-s] total sectors */
+ uint8_t bpbMedia; /* [-m] media descriptor */
+ uint16_t bpbFATsecs; /* [-a] sectors per FAT */
+ uint16_t bpbSecPerTrack; /* [-u] sectors per track */
+ uint16_t bpbHeads; /* [-h] drive heads */
+ uint32_t bpbHiddenSecs; /* [-o] hidden sectors */
+ uint32_t bpbHugeSectors; /* [-s] big total sectors */
};
/* FAT32 extensions */
struct bsxbpb {
- u_int32_t bpbBigFATsecs; /* [-a] big sectors per FAT */
- u_int16_t bpbExtFlags; /* control flags */
- u_int16_t bpbFSVers; /* file system version */
- u_int32_t bpbRootClust; /* root directory start cluster */
- u_int16_t bpbFSInfo; /* [-i] file system info sector */
- u_int16_t bpbBackup; /* [-k] backup boot sector */
+ uint32_t bpbBigFATsecs; /* [-a] big sectors per FAT */
+ uint16_t bpbExtFlags; /* control flags */
+ uint16_t bpbFSVers; /* file system version */
+ uint32_t bpbRootClust; /* root directory start cluster */
+ uint16_t bpbFSInfo; /* [-i] file system info sector */
+ uint16_t bpbBackup; /* [-k] backup boot sector */
};
.Ed
.Sh LIMITATION
OpenPOWER on IntegriCloud