freebsd-nq/usr.sbin/mixer
Mateusz Piotrowski babc4e8145 mixer(8): Report an error if the passed value is an empty string
This patch fixes a bug that made the mixer command enter
an infinite loop when instructed to set the value of a device
to an empty string (e.g., `mixer vol ""`).

Additionally, some tests for mixer(8) are being added.

PR:		240039
Reviewed by:	hselasky, mav
Approved by:	src (hselasky, mav)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21409
2019-08-25 17:55:31 +00:00
..
tests mixer(8): Report an error if the passed value is an empty string 2019-08-25 17:55:31 +00:00
Makefile mixer(8): Report an error if the passed value is an empty string 2019-08-25 17:55:31 +00:00
Makefile.depend
mixer.8
mixer.c mixer(8): Report an error if the passed value is an empty string 2019-08-25 17:55:31 +00:00