Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25656
b: refs/heads/master
c: bbdc1b7
h: refs/heads/master
v: v3
  • Loading branch information
OGAWA Hirofumi authored and Jaroslav Kysela committed Apr 12, 2006
1 parent 955802c commit f420f8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a145410dccdb44f81d3b56763ef9b6f721f4e47c
refs/heads/master: bbdc1b7dbe41578da7c9a6266cf450abe97e4ca7
2 changes: 1 addition & 1 deletion trunk/sound/core/oss/pcm_oss.c
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ static int snd_pcm_oss_open_file(struct file *file,
snd_pcm_oss_init_substream(substream, &setup[idx], minor);
}

if (! pcm_oss_file->streams[0] && pcm_oss_file->streams[1]) {
if (!pcm_oss_file->streams[0] && !pcm_oss_file->streams[1]) {
snd_pcm_oss_release_file(pcm_oss_file);
return -EINVAL;
}
Expand Down

0 comments on commit f420f8a

Please sign in to comment.