[Bug 277615] /usr/sbin/mixer -a does not display all mixer devices if /dev/mixer0 happens to not exist.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 May 2024 19:32:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277615

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=cd254b9243d3d0f4d86b388f919dc744086fb002

commit cd254b9243d3d0f4d86b388f919dc744086fb002
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-05-23 00:57:25 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-05-25 19:30:49 +0000

    mixer(8): Ignore mixer_open() failures for the -a option

    The most likely reason mixer_open() will fail is because either the
    device doesn't exist, or because it is disabled, so there is not reason
    to kill the application. Instead, continue and print the rest of the
    enabled mixers.

    PR:             277615
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 day
    Reviewed by:    dev_submerge.ch
    Differential Revision:  https://reviews.freebsd.org/D45151

    (cherry picked from commit 0e80798518be673bdad7245b627cb5bd7ec08888)

 usr.sbin/mixer/mixer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.