Go to file
kre 887a30551e Generate usage error for bad usage, before attempting any other operations.
This means that "mixerctl" (no args) will generate a usage msg, even when
/dev/mixer cannot be opened (or any other device given via -d or $MIXERDEVICE)

While here, get rid of "goto usage" replacing the usage: with a
static inline void __dead function...  The compiler ought to optimise
the calls into essentially the same code as existed with the goto version,
but this is much cleaner.

Also, mixerctl falls back on /dev/mixer0 if /dev/mixer cannot be opened.
(that is old code - probably from when /dev/mixer was first added)

It used to do that when called as mixerctl -d /dev/mixer or with
"MIXERDEVICE=/dev/mixer mixerctl...".   No longer.  Now the fallback (which
is probably obsolete now anyway) only happens when the user doesn't specify
any mixer device (by either method) and the default of /dev/mixer is used.
In other cases, only the device specified is tried.
2017-02-23 14:09:11 +00:00
bin white space 2017-02-06 21:06:04 +00:00
common Add entry for prop_ingest in the NAME section. 2017-02-12 16:18:48 +00:00
compat Don't mix abis in any CRUNCHEDPROG 2017-01-05 21:28:42 +00:00
crypto reproduced also on the regular (not -m32) build. 2017-02-21 16:07:17 +00:00
dist/pf PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
distrib Introduce PT_GETDBREGS and PT_SETDBREGS in ptrace(2) on i386 and amd64 2017-02-23 03:34:22 +00:00
doc GC some GCC 4.8 specific sh3 HACKS entries. 2017-02-22 12:17:16 +00:00
etc Add new directory usr/tests/kernel/arch/x86 in mtree 2017-02-22 02:42:53 +00:00
external GC more gcc 4.8 specific (dead) logic 2017-02-22 12:34:49 +00:00
extsrc
games need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h> 2017-01-10 20:41:40 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include Add fenv for ia64, imported from FreeBSD, compile tested only. 2017-02-23 02:05:30 +00:00
lib Formatting fix. 2017-02-23 08:11:09 +00:00
libexec uh, this is actually called 20170201 :-) 2017-02-05 01:55:03 +00:00
regress need <sys/stat.h> 2017-01-10 22:37:44 +00:00
rescue vnconfig(8) was renamed to vndconfig(8) some time ago, and most places 2016-08-04 03:50:55 +00:00
sbin file system police. 2017-02-17 09:29:35 +00:00
share Remove kLFT and kRIT from putty. 2017-02-23 13:22:53 +00:00
sys Avoid panic when amd64 kernel is booted from 32bit UEFI. 2017-02-23 12:17:36 +00:00
tests Drop the test for QEMU and instead skip relevant tests when /dev/mixer 2017-02-23 14:01:37 +00:00
tools GC more gcc 4.8 specific (dead) logic 2017-02-22 12:34:49 +00:00
usr.bin Generate usage error for bad usage, before attempting any other operations. 2017-02-23 14:09:11 +00:00
usr.sbin Remove mkludge stuffs 2017-02-23 07:57:09 +00:00
BUILDING regen 2017-02-20 21:28:48 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING Remove entry for "TRAP_HWWPT renamed to TRAP_DBREG" from UPDATING 2017-02-17 21:34:19 +00:00
build.sh add a trailing / to force symlink resolution. 2016-12-18 19:39:05 +00:00