Page MenuHomeFreeBSD

D45276.diff
No OneTemporary

D45276.diff

diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c
--- a/usr.sbin/mixer/mixer.c
+++ b/usr.sbin/mixer/mixer.c
@@ -97,7 +97,7 @@
if ((n = mixer_get_nmixers()) < 0)
errx(1, "no mixers present in the system");
for (i = 0; i < n; i++) {
- (void)snprintf(buf, sizeof(buf), "/dev/mixer%d", i);
+ (void)mixer_get_path(buf, sizeof(buf), i);
if ((m = mixer_open(buf)) == NULL)
continue;
initctls(m);

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 25, 1:15 PM (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16144420
Default Alt Text
D45276.diff (428 B)

Event Timeline