patch-2.1.125 linux/mm/vmscan.c
Next file: linux/net/802/hippi.c
Previous file: linux/kernel/dma.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Oct 6 16:10:25 1998
- Orig file:
v2.1.124/linux/mm/vmscan.c
- Orig date:
Wed Sep 9 14:51:13 1998
diff -u --recursive --new-file v2.1.124/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -511,9 +511,10 @@
int kswapd(void *unused)
{
struct wait_queue wait = { current, NULL };
+
current->session = 1;
current->pgrp = 1;
- sprintf(current->comm, "kswapd");
+ strcpy(current->comm, "kswapd");
sigfillset(¤t->blocked);
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov