Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108599517
D43812.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
383 B
Referenced Files
None
Subscribers
None
D43812.diff
View Options
diff --git a/lib/libmixer/mixer.c b/lib/libmixer/mixer.c
--- a/lib/libmixer/mixer.c
+++ b/lib/libmixer/mixer.c
@@ -87,7 +87,7 @@
dunit:
if ((m->unit = mixer_get_dunit()) < 0)
goto fail;
- (void)snprintf(m->name, sizeof(m->name), "/dev/mixer%d", m->unit);
+ (void)snprintf(m->name, sizeof(m->name), BASEPATH "%d", m->unit);
}
if ((m->fd = open(m->name, O_RDWR)) < 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 7:12 PM (7 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16206497
Default Alt Text
D43812.diff (383 B)
Attached To
Mode
D43812: mixer(3): Do not hardcode "/dev/mixer"
Attached
Detach File
Event Timeline
Log In to Comment