patch-1.3.4 linux/drivers/char/console.c

Next file: linux/drivers/char/consolemap.c
Previous file: linux/drivers/char/busmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/drivers/char/console.c linux/drivers/char/console.c
@@ -2441,10 +2441,10 @@
 	    arg += cmapsz;
 	    if (set)
 	      for (i=0; i<cmapsz ; i++)
-		*(charmap+i) = get_fs_byte(arg+i);
+		*(charmap+i) = get_user(arg+i);
 	    else
 	      for (i=0; i<cmapsz ; i++)
-		put_fs_byte(*(charmap+i), arg+i);
+		put_user(*(charmap+i), arg+i);
 	  };
 
 	cli();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this