Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34957
b: refs/heads/master
c: e6f8f10
h: refs/heads/master
i:
  34955: 5cda9b8
v: v3
  • Loading branch information
Josef 'Jeff' Sipek authored and Jaroslav Kysela committed Sep 23, 2006
1 parent 748e3f1 commit 2187409
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: eb06ed8f4c2440558ebf465e8baeac6367d90201
refs/heads/master: e6f8f108a19638d7c6535ab393a228ed9d4804a6
6 changes: 3 additions & 3 deletions trunk/sound/core/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,15 @@ static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig)
switch (entry->content) {
case SNDRV_INFO_CONTENT_TEXT:
switch (orig) {
case 0: /* SEEK_SET */
case SEEK_SET:
file->f_pos = offset;
ret = file->f_pos;
goto out;
case 1: /* SEEK_CUR */
case SEEK_CUR:
file->f_pos += offset;
ret = file->f_pos;
goto out;
case 2: /* SEEK_END */
case SEEK_END:
default:
ret = -EINVAL;
goto out;
Expand Down

0 comments on commit 2187409

Please sign in to comment.