patch-2.1.67 linux/kernel/printk.c
Next file: linux/net/802/Makefile
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Nov 29 10:41:10 1997
- Orig file:
v2.1.66/linux/kernel/printk.c
- Orig date:
Wed Sep 24 20:05:48 1997
diff -u --recursive --new-file v2.1.66/linux/kernel/printk.c linux/kernel/printk.c
@@ -109,7 +109,7 @@
log_size--;
log_start &= LOG_BUF_LEN-1;
sti();
- put_user(c,buf);
+ __put_user(c,buf);
buf++;
i++;
cli();
@@ -138,7 +138,7 @@
j = log_start + log_size - count;
for (i = 0; i < count; i++) {
c = *((char *) log_buf+(j++ & (LOG_BUF_LEN-1)));
- put_user(c, buf++);
+ __put_user(c, buf++);
}
if (do_clear)
logged_chars = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov