patch-2.4.2 linux/net/khttpd/sysctl.c
Next file: linux/net/khttpd/userspace.c
Previous file: linux/net/khttpd/security.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Feb 9 11:34:13 2001
- Orig file:
v2.4.1/linux/net/khttpd/sysctl.c
- Orig date:
Mon Aug 23 13:44:03 1999
diff -u --recursive --new-file v2.4.1/linux/net/khttpd/sysctl.c linux/net/khttpd/sysctl.c
@@ -25,7 +25,7 @@
#include <linux/kernel.h>
#include <linux/errno.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/net.h>
#include <linux/sched.h>
#include <linux/skbuff.h>
@@ -259,7 +259,7 @@
static int proc_dosecurestring(ctl_table *table, int write, struct file *filp,
void *buffer, size_t *lenp)
{
- int len;
+ size_t len;
char *p, c=0;
char String[256];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)