patch-2.1.77 linux/drivers/char/bttv.c
Next file: linux/drivers/char/bw-qcam.c
Previous file: linux/drivers/char/Config.in
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Dec 29 10:24:21 1997
- Orig file:
v2.1.76/linux/drivers/char/bttv.c
- Orig date:
Tue Dec 23 16:30:59 1997
diff -u --recursive --new-file v2.1.76/linux/drivers/char/bttv.c linux/drivers/char/bttv.c
@@ -1270,7 +1270,7 @@
v.flags&=~(VIDEO_AUDIO_MUTE|VIDEO_AUDIO_MUTABLE);
v.flags|=VIDEO_AUDIO_MUTABLE;
strcpy(v.name,"TV");
- if(copy_to_user(&v,arg,sizeof(v)))
+ if(copy_to_user(arg,&v,sizeof(v)))
return -EFAULT;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov