patch-2.1.4 linux/drivers/char/tga.c
Next file: linux/drivers/char/tpqic02.c
Previous file: linux/drivers/char/stallion.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Oct 13 21:11:12 1996
- Orig file:
v2.1.3/linux/drivers/char/tga.c
- Orig date:
Tue Jun 4 06:06:37 1996
diff -u --recursive --new-file v2.1.3/linux/drivers/char/tga.c linux/drivers/char/tga.c
@@ -395,9 +395,9 @@
for (i=0; i<16; i++) {
if (set) {
- default_red[i] = get_user(arg++) ;
- default_grn[i] = get_user(arg++) ;
- default_blu[i] = get_user(arg++) ;
+ get_user(default_red[i], arg++) ;
+ get_user(default_grn[i], arg++) ;
+ get_user(default_blu[i], arg++) ;
} else {
put_user (default_red[i], arg++) ;
put_user (default_grn[i], arg++) ;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov