Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34959
b: refs/heads/master
c: d158da8
h: refs/heads/master
i:
  34957: 2187409
  34955: 5cda9b8
  34951: c531bf3
  34943: 6abb836
v: v3
  • Loading branch information
Josef 'Jeff' Sipek authored and Jaroslav Kysela committed Sep 23, 2006
1 parent 013d158 commit 5db58b9
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: dd47a33806bfe93c08b071c4d26a2390cbbc9e65
refs/heads/master: d158da81ee9a1fa70d980f58b0f143fa873ca9ed
6 changes: 3 additions & 3 deletions trunk/sound/isa/gus/gus_mem_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ static long long snd_gf1_mem_proc_llseek(struct snd_info_entry *entry,
struct gus_proc_private *priv = entry->private_data;

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 = priv->size + offset;
break;
default:
Expand Down

0 comments on commit 5db58b9

Please sign in to comment.