summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant parameter inherited from ipacctctl.glebius2005-01-181-8/+7
|
* One of the DIAGNOSTICS sections should be EXIT STATUS.ru2005-01-181-6/+6
|
* Added the EXIT STATUS section where appropriate.ru2005-01-1739-42/+46
|
* Add prototypes and remove unused variables for WARNS=6 compliance. Addcharnier2005-01-161-25/+28
| | | | | 'usage: ' in front of usage string. Use warnx(3) instead of fprintf in error messages to get progname prepended.
* Eliminate macro calls inside literal displays.ru2005-01-153-36/+16
|
* Fixed display type.ru2005-01-151-1/+1
|
* Removed bitrot.ru2005-01-132-10/+4
|
* WANRS=6 cleanup for vidcontrol(1):delphij2005-01-133-93/+95
| | | | | | | | | | | | | - Use foo(void) instead of foo(). - Use static where applicable. - Apply more const's when passing parameters - signed/unsigned madness - Avoid namespace collision by adding underscores. - For 64-bit architectures, use %zx instead of %x when necessary. - When storing constants, use const instead of variable. - Bump WARNS?= from 2 to 6
* Fix typo %d -> %xemax2005-01-121-1/+1
| | | | | | | | | That should fix the problem with invalid PSM returned from bthidcontrol. Pointy hat goes to me. PR: misc/76107 Submitted by: Hiroyuki Aizu < aizu at navi dot org > MFC after: 1 day
* Document the -U option a bit more clearly.philip2005-01-111-0/+12
| | | | Submitted by: keramida
* Scheduled mdoc(7) sweep.ru2005-01-1111-67/+61
|
* Add -q to usage() and mark the "index" argument as optional.ru2005-01-111-1/+1
|
* - mdoc(7) cleanup.simon2005-01-111-17/+43
| | | | | | - Bump document date for last content change. Extended mdoc clue: ru
* Add -c to SYNOPSIS and usage().ru2005-01-112-3/+3
|
* Use the standard BSD copyright as per OpenBSD and /sys/net/slcompress*brian2005-01-102-31/+59
|
* Cast unsigned variables to intbrian2005-01-101-1/+1
|
* ifr_flagshigh is FreeBSD specificbrian2005-01-101-0/+6
|
* Integrate some OpenBSD alignment fixes. This hopefully also fixes PR 38058...brian2005-01-102-27/+35
| | | | Obtained from: Brad <brad@comstyle.com>
* Wording nit.trhodes2005-01-101-1/+1
|
* Cleanup usr.sbin/fd* so they can compile under WARNS=6.delphij2005-01-088-35/+39
| | | | | | | | | | | | | | | | | | | | | | | | fdcontrol/fdcontrol.c: - Add const constraint to an intermediate value which is not supposed to be changed elsewhere. fdread/fdread.c: - Use _devname in favor of devname to avoid name conflicit. - -1 is less than any positive number so in order to get the block to function, we should get the block a little earlier. - Cast to remove signed when we are sure that a return value is positive, or is compared with an positive number (tracknumber of a floppy disk is not likely to have UINT_MAX/2 anyway) fdread/fdutil.c: - Use more specific initializer fdwrite/fdwrite.c: - Use static on format_track since it's not referenced in other places. - Use const char* to represent string constant. Bump WARNS accordingly.
* Follow style.Makefile(5):delphij2005-01-081-1/+1
| | | | | | WARNS comes before CFLAGS This reduces diff against my local branch.
* Change the USB keyboard example to use /dev/ukbd0 instead of /dev/kbd1.brooks2005-01-081-2/+2
| | | | | | This example caused me to incorrectly believe that you must use the generic device nodes when you can in fact use either. It's often better to use the driver specific node.
* WARNS=6 cleanup. This includes:delphij2005-01-072-8/+10
| | | | | | | - Apply __unused on unused parameters - Use const where suitable - Use PRIu64 instead of the deprecated %q - Bump WARNS to 6
* Minor comment fix.kensmith2005-01-072-2/+2
| | | | MFC after: 1 week
* Document the -V and -U options in usage().philip2005-01-061-2/+2
| | | | Submitted by: Jordan Sissel <psionic@csh.rit.edu>
* Add forgotten -a to the usage() message.le2005-01-051-1/+1
|
* Teach sdpd(8) about 32-bit and 128-bit uuid's.emax2005-01-055-13/+162
| | | | MFC after: 3 days
* Rename 'class' field to 'uclass' in the ng_hci_inquiry_response structure.emax2005-01-041-1/+1
| | | | | | | class is a reserved word in C++ Submitted by: Markus Brueffer < markus AT brueffer DOT de > MFC after: 3 days
* Use __unused macro instead of a bare void for main().delphij2005-01-041-1/+1
| | | | Suggested by: nectar
* Update the INDEX file to INDEX-6paul2005-01-041-5/+5
|
* Use INDEX-6 for versions of FreeBSD > 600000paul2005-01-041-1/+3
|
* Remove old wdc driver completely.nyan2005-01-042-12/+0
|
* Allow usbd to handle event notificatiosn where mor ethan onejulian2005-01-041-47/+67
| | | | | | | | | device is involved, (e.g. plugin a hub with multiple devices already attached to it) Submitted by: Naoyuki Tai <ntai@smartfruit.com> PR: 43993 MFC in: 1 week
* nologin(8) does not seem to require any command line parameters,delphij2005-01-041-2/+2
| | | | | | | | | | | | so remove argc and argv from main() argument. At the same time, user and tt is not likely to be changed during execution so mark them const. This commit should guarantee nologin to pass WARNS=6. Tested on: i386 MFC After: 1 month
* Because the `permission' field in conf_entry is intended to be used asdelphij2005-01-041-1/+1
| | | | | | | | | | parameter 2 in chmod(2), which is a mode_t (and in turn a __uint_16_t), it's more likely that it should be defined as an unsigned variable. This commit should make newsyslog WARNS=6 clean, but don't bump the knob until I have a universe build. MFC After: 1 month
* Catch up with the kernel and set any global variables we are using, innjl2005-01-031-0/+6
| | | | | | particular, enabling interpreter workarounds for bad ASL. MFC after: 1 day
* o Remove duplicate includes.maxim2005-01-011-2/+0
| | | | | | PR: bin/75712 Submitted by: brueffer Obtained from: Dragonfly BSD
* Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithmgad2004-12-315-37/+79
| | | | | | | | | | | | | | | | | for calculating the job number for a job based on the control-file name. We might receive cf-files named by other implementations of lpr, where the job number shown by lpq would not match the job number that other commands expected for the same name. This also uses a newer algorithm for determining a job number, to avoid problems caused when a control-file is named using an IP address, instead of the hostname. This also moved the declaration if isowner() from lp.h to rmjob.c. When I went to change the parameters, I noticed that rmjob.c was the only source file which uses it. MFC after: 2 weeks
* Do more extensive checking of the userid field which is read in from thegad2004-12-311-7/+46
| | | | | | | | | | | | | | | | control-file for each print job. This is partially because the previous checks still let through some characters which would cause trouble for other applications which try to process the resulting userid -- such as accounting programs. But the main reason is to handle the case where some remote host sends a print job where the given userid is an uppercase-version of the real userid. For that case, lpd will now check for uppercase letters in the userid. If there are any, it will check to see if the given userid (with the uppercase letters) is a valid one. If it is *not* valid, then lpd will change the userid to all-lowercase right when the job is received. MFC after: 2 weeks
* Allow ':' and '%' in hostname specifications so that we can specify IPv6dwmalone2004-12-281-1/+1
| | | | | | addresses and scope IDs. MFC after: 3 weeks
* Some syslog messages delimit the program tag with whitespace ratherdwmalone2004-12-281-2/+2
| | | | | | | | | | | | than a colon, so don't allow whitespace in program names. To be consistent with hostnames, don't allow whitespace in the program name specifiers in syslog.conf either. (The first change is by Markus from the PR, the second is mine.) PR: 68691 Submitted by: Markus Oestreicher <m.oe@x-trader.de> MFC after: 3 weeks
* For VLAN interfaces, print MAC addresses properly.ru2004-12-241-1/+2
| | | | | | | | (Broken in rev. 1.52.) PR: 75471 Submitted by: Jon Simola MFC after: 3 days
* Due to unknown reasons, Disk_Names() returns SCSI CDROM as a validyongari2004-12-222-0/+28
| | | | | | | | | | | | | disk. This is main reason why sysinstall presents SCSI CDROM to available disks in Fdisk/Label menu. In addition, adding a blank SCSI CDROM to the menu generates floating point exception in sparc64. Disk_Names() just extracts sysctl "kern.disks". Why GEOM treats SCSI CDROM as a disk is beyond me and that should be investigated. For temporary workaround, ignore SCSI CDROM device. PR: sparc64/72962 Tested by: R. Tyler Ballance < tyler AT tamu DOT edu> MFC after: 1 week
* Use the source of the termcap database when available.ru2004-12-212-20/+32
|
* The "fixate" command no longer terminates command processing,ru2004-12-211-4/+1
| | | | so that "eject" following it can happen.
* Document -F in usage() and SYNOPSIS.ru2004-12-212-2/+2
|
* Make "burncd ... fixate eject" really work as promised.ru2004-12-211-1/+1
|
* NOPAM -> NO_PAMru2004-12-211-0/+3
|
* NOIPSEC -> TRACEROUTE_NO_IPSECru2004-12-211-2/+2
|
* Overhaul ppp(8) build options so they are safe to use inru2004-12-211-18/+26
| | | | | | | | | | | | | | | | /etc/make.conf: NOALIAS -> retired (support provided by PPP_NO_NAT) NOATM -> PPP_NO_ATM (also subject to NO_ATM global) NODES -> PPP_NO_DES (support was broken, now recovered) NOI4B -> PPP_NO_I4B (also subject to NO_I4B global) NOKLDLOAD -> PPP_NO_KLDLOAD NONAT -> PPP_NO_NAT NONETGRAPH -> PPP_NO_NETGRAPH NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global) NORADIUS -> PPP_NO_RADIUS NOSUID -> retired (support provided by PPP_NO_SUID) PPP_NOSUID -> PPP_NO_SUID
OpenPOWER on IntegriCloud