Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162763629
D45276.id.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.id.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
Fri, Jul 17, 2:55 PM (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35170953
Default Alt Text
D45276.id.diff (428 B)
Attached To
Mode
D45276: mixer(8): Use mixer_get_path()
Attached
Detach File
Event Timeline
Log In to Comment