freebsd-nq/sbin
John Polstra 614d19ca10 Fix calls to mmap. It returns void *, and on failure it returns
MAP_FAILED.

Don't try to extend the mapping in place if it is too short.
There's no guarantee it will be possible.  Remap the file instead.

Put in a few style fixes.

Submitted by:	Bruce Evans <bde>
1998-09-06 20:43:25 +00:00
..
adjkerntz Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include. 1998-06-04 06:35:12 +00:00
badsect Fixed printf format errors. 1998-06-28 18:34:01 +00:00
bsdlabel Attempt to fix my breakage of the alpha makebootarea() in rev.1.19. 1998-08-23 07:32:37 +00:00
ccdconfig Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused 1998-06-04 06:41:26 +00:00
clri Correct .Nm. Spelling. Add rcsid, remove unused #includes. Add usage(). Do not 1998-06-04 06:44:18 +00:00
comcontrol Add rcsid. Remove unused #includes. Use err(3). 1998-06-30 06:09:37 +00:00
cxconfig Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing 1998-06-30 06:12:44 +00:00
disklabel Attempt to fix my breakage of the alpha makebootarea() in rev.1.19. 1998-08-23 07:32:37 +00:00
dmesg Use an error message that more clearly indites(sp?) an out-of-sync 1998-07-27 18:53:45 +00:00
dset Fixed printf format errors. 1998-06-28 19:06:17 +00:00
dump Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
dumpfs Add rcsid. Remove unused #includes. 1998-06-15 07:00:01 +00:00
dumpon Sort cross references. 1998-08-31 16:41:09 +00:00
fdisk Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused 1998-07-06 06:44:36 +00:00
fsck Use explicitly sized types when laying out the cylinder groups. This 1998-08-15 10:07:33 +00:00
fsck_ffs Use explicitly sized types when laying out the cylinder groups. This 1998-08-15 10:07:33 +00:00
fsck_ifs Use explicitly sized types when laying out the cylinder groups. This 1998-08-15 10:07:33 +00:00
fsdb Fixed printf format errors. 1998-06-28 19:36:49 +00:00
fsirand Do not dot terminate SEE ALSO list. Add rcsid, remove unused #includes. Err(3) 1998-06-30 06:18:44 +00:00
i386 Split lines into one subdir per line. 1998-08-30 20:28:50 +00:00
ifconfig unifdef -UISO 1998-08-07 06:36:53 +00:00
init Memory management error in init. 1998-07-22 05:45:11 +00:00
ipf Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipfstat Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipfw PR: 7475 1998-08-04 14:41:37 +00:00
ipmon Install ipmon.8 in man8/ not man1/. 1998-08-30 04:48:00 +00:00
ipnat Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
kldload remoce unused #include. 1998-07-06 06:58:32 +00:00
kldstat .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-19 07:46:04 +00:00
kldunload Lowercase 1st char. in err(3) strings. 1998-07-06 06:59:52 +00:00
ldconfig Fix calls to mmap. It returns void *, and on failure it returns 1998-09-06 20:43:25 +00:00
md5 Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3). 1998-07-06 07:04:50 +00:00
mknod Remove unused #include. Add usage(). 1998-07-06 07:06:15 +00:00
modload Add "-aout" option when calling the linker, so that this will work 1998-08-12 02:39:23 +00:00
modunload Add rcsid. Remove unused #includes. Spelling. 1998-07-06 07:09:13 +00:00
mount Add a CAVEAT section documenting the minimum permissions required for a mount 1998-07-09 05:49:58 +00:00
mount_cd9660 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-19 07:46:04 +00:00
mount_ext2fs Correct use of .Nm. 1998-07-06 07:13:31 +00:00
mount_ifs Add a CAVEAT section documenting the minimum permissions required for a mount 1998-07-09 05:49:58 +00:00
mount_msdos Split usage string. 1998-06-30 06:23:42 +00:00
mount_msdosfs Split usage string. 1998-06-30 06:23:42 +00:00
mount_nfs Sync usage string and man page. Correct use of .Nm. Spelling. Remove 1998-07-06 07:15:53 +00:00
mount_null -Wall. 1998-07-06 07:17:27 +00:00
mount_nullfs -Wall. 1998-07-06 07:17:27 +00:00
mount_portal Fixed printf format errors. 1998-08-02 16:06:35 +00:00
mount_portalfs Fixed printf format errors. 1998-08-02 16:06:35 +00:00
mount_std Correct use of .Nm. Remove unused #includes. 1998-07-15 06:08:47 +00:00
mount_umap Correct use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos. 1998-07-15 06:12:32 +00:00
mount_umapfs Correct use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos. 1998-07-15 06:12:32 +00:00
mount_union .Nm mount_union -> .Nm. 1998-07-15 06:13:45 +00:00
mount_unionfs .Nm mount_union -> .Nm. 1998-07-15 06:13:45 +00:00
mountd Fixed printf format errors. 1998-08-02 16:06:35 +00:00
natd Fix inconsistent port numbering in man page. 1998-07-15 03:32:45 +00:00
newfs Use explicitly sized types when formatting cylinder groups. 1998-08-27 07:38:33 +00:00
newfs_msdos Sort cross references. 1998-08-31 16:41:09 +00:00
nextboot Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganize 1998-06-30 06:28:18 +00:00
nfsd Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall. 1998-07-15 06:33:15 +00:00
nfsiod Correct use of .Nm. Do not dot terminate syslog() strings. Remove unused 1998-07-15 06:35:20 +00:00
nologin Add Id. .Nm nologin -> .Nm. 1998-07-15 06:37:07 +00:00
nos-tun Fixed printf format errors. 1998-08-02 16:06:35 +00:00
ping Disable gcc's builtin memcpy for alpha since it doesn't cope with unaligned 1998-09-05 15:11:47 +00:00
quotacheck Correct use of .Nm. Add rcsid. Remove unused #includes. Use warn(). 1998-07-15 06:48:52 +00:00
reboot Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing). 1998-07-15 06:51:38 +00:00
restore Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
route Comment is .\" not .|'. Add -d and -t flags to SYNOPSIS and usage(). Getopt 1998-07-28 06:25:35 +00:00
routed Spelling, add rcsid, remove unused #includes. 1998-07-28 06:36:31 +00:00
savecore Correct use of .Nm, add rcsid, remove unused #include. 1998-07-28 06:38:57 +00:00
scsi Spelling. Errx() on malloc() failure. 1998-07-28 06:42:38 +00:00
scsiformat Correct use of .Nm, add .An. 1998-08-03 06:19:47 +00:00
shutdown Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling. 1998-08-03 06:22:43 +00:00
slattach Fixed printf format errors. 1998-08-02 16:06:35 +00:00
spppcontrol Typo: i. e. -> i.e. 1998-08-03 06:24:59 +00:00
startslip Correct use of .Nm and .Ev. 1998-08-03 06:32:57 +00:00
swapon .Nm swapon -> .Nm. 1998-08-03 06:35:01 +00:00
sysctl Change length arguments to sysctl to size_t. 1998-08-25 07:38:19 +00:00
tunefs Document -n (soft-update) flag. 1998-08-03 06:41:20 +00:00
umount Use errx() instead of err() for malloc failures. -Wall. Do not dot 1998-08-03 06:44:46 +00:00
Makefile Change MACHINE to MACHINE_ARCH to support MACHINE=pc98. 1998-09-05 08:29:05 +00:00
Makefile.inc Part one of a "fix-and-move". Init(8) had make macros declared here 1997-02-10 17:41:33 +00:00