--- vanilla-2.5.32/sound/oss/vwsnd.c Sat Aug 10 00:04:15 2002
+++ linux-2.5-cli-oss/sound/oss/vwsnd.c Sat Aug 10 19:52:00 2002
@@ -2917,7 +2917,7 @@
static int vwsnd_audio_open(struct inode *inode, struct file *file)
{
vwsnd_dev_t *devc;
- dev_t minor = MINOR(inode->i_rdev);
+ dev_t minor = minor(inode->i_rdev);
int sw_samplefmt;
DBGE("(inode=0x%p, file=0x%p)\n", inode, file);
@@ -3064,7 +3064,7 @@
INC_USE_COUNT;
for (devc = vwsnd_dev_list; devc; devc = devc->next_dev)
- if (devc->mixer_minor == MINOR(inode->i_rdev))
+ if (devc->mixer_minor == minor(inode->i_rdev))
break;
if (devc == NULL) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:28 EST