patch-2.1.6 linux/drivers/isdn/teles/llglue.c
Next file: linux/drivers/isdn/teles/mod.c
Previous file: linux/drivers/isdn/teles/config.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Oct 28 20:57:46 1996
- Orig file:
v2.1.5/linux/drivers/isdn/teles/llglue.c
- Orig date:
Fri Jun 7 16:02:42 1996
diff -u --recursive --new-file v2.1.5/linux/drivers/isdn/teles/llglue.c linux/drivers/isdn/teles/llglue.c
@@ -46,9 +46,10 @@
byte *p;
for (p = buf, count = 0; count < len; p++, count++) {
- if (user)
- put_fs_byte(*teles_status_read++, p);
- else
+ if (user) {
+ put_user(*teles_status_read, p);
+ teles_status_read++;
+ } else
*p++ = *teles_status_read++;
if (teles_status_read > teles_status_end)
teles_status_read = teles_status_buf;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov