mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
detect: Fix OSS device detection with long names
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=89921
This commit is contained in:
parent
6db74fc3c7
commit
492fa1ff32
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ static int detect_oss(pa_core *c, int just_one) {
|
||||||
}
|
}
|
||||||
|
|
||||||
while (!feof(f)) {
|
while (!feof(f)) {
|
||||||
char line[64], args[64];
|
char line[256], args[64];
|
||||||
unsigned device;
|
unsigned device;
|
||||||
|
|
||||||
if (!fgets(line, sizeof(line), f))
|
if (!fgets(line, sizeof(line), f))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue