Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34958
b: refs/heads/master
c: dd47a33
h: refs/heads/master
v: v3
  • Loading branch information
Josef 'Jeff' Sipek authored and Jaroslav Kysela committed Sep 23, 2006
1 parent 2187409 commit 013d158
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: e6f8f108a19638d7c6535ab393a228ed9d4804a6
refs/heads/master: dd47a33806bfe93c08b071c4d26a2390cbbc9e65
6 changes: 3 additions & 3 deletions trunk/sound/drivers/opl4/opl4_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ static long long snd_opl4_mem_proc_llseek(struct snd_info_entry *entry, void *fi
struct file *file, long long offset, int orig)
{
switch (orig) {
case 0: /* SEEK_SET */
case SEEK_SET:
file->f_pos = offset;
break;
case 1: /* SEEK_CUR */
case SEEK_CUR:
file->f_pos += offset;
break;
case 2: /* SEEK_END, offset is negative */
case SEEK_END: /* offset is negative */
file->f_pos = entry->size + offset;
break;
default:
Expand Down

0 comments on commit 013d158

Please sign in to comment.