summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/soundcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/soundcard.c b/sound/oss/soundcard.c
index a5ab61ed0a97..46c0d03dbecc 100644
--- a/sound/oss/soundcard.c
+++ b/sound/oss/soundcard.c
@@ -249,7 +249,7 @@ static int sound_open(struct inode *inode, struct file *file)
}
mutex_unlock(&soundcard_mutex);
- return 0;
+ return retval;
}
static int sound_release(struct inode *inode, struct file *file)