Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108407491
D45276.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
428 B
Referenced Files
None
Subscribers
None
D45276.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D45276: mixer(8): Use mixer_get_path()
Attached
Detach File
Event Timeline
Log In to Comment