NetBSD Problem Report #55878

From www@netbsd.org  Tue Dec 15 14:57:27 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8246A1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 15 Dec 2020 14:57:27 +0000 (UTC)
Message-Id: <20201215145726.7100A1A923C@mollari.NetBSD.org>
Date: Tue, 15 Dec 2020 14:57:26 +0000 (UTC)
From: fukumoto.at@gmail.com
Reply-To: fukumoto.at@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Doc error in audioctl(1)
X-Send-Pr-Version: www-1.0

>Number:         55878
>Category:       bin
>Synopsis:       Doc error in audioctl(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 15 15:00:00 +0000 2020
>Originator:     Atsushi Fukumoto
>Release:        current
>Organization:
none
>Environment:
NetBSD kestrel 9.99.75 NetBSD 9.99.75 (Kestrel) #1: Mon Nov 16 19:51:14 JST 2020  fukumoto@kestrel:/u/netbsd/obj/sys/arch/amd64/compile/Kestrel amd64
>Description:
audioctl(1) manpage says:

     The -d flag can be used to give an alternative audio control device, the
     default is /dev/audioctl0.

But in fact it defaults to /dev/audioctl , and if it fails, it tries to open /dev/audioctl0

>How-To-Repeat:
sudo audiocfg default 1
audioctl -a
# and see the output is about /dev/audioctl1

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.