summaryrefslogtreecommitdiffstats
path: root/net/khttpd/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/khttpd/sysctl.c')
-rw-r--r--net/khttpd/sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/khttpd/sysctl.c b/net/khttpd/sysctl.c
index 244eb76db..4352b92e4 100644
--- a/net/khttpd/sysctl.c
+++ b/net/khttpd/sysctl.c
@@ -25,7 +25,7 @@ Sysctl interface
#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 @@ void EndSysctl(void)
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];