X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=kernel%2Futsname_sysctl.c;h=69eae358a726d8a8848d7f3e141c22762493c7b4;hb=89061d3d58e1f0742139605dc6a7950aa1ecc019;hp=92359cc747a7c52cb85e362ab3b9178e4756ee2d;hpb=11dea1900931ac73184b2f5163a13d24a4e572ea;p=safe%2Fjmp%2Flinux-2.6 diff --git a/kernel/utsname_sysctl.c b/kernel/utsname_sysctl.c index 92359cc..69eae35 100644 --- a/kernel/utsname_sysctl.c +++ b/kernel/utsname_sysctl.c @@ -42,14 +42,14 @@ static void put_uts(ctl_table *table, int write, void *which) * Special case of dostring for the UTS structure. This has locks * to observe. Should this be in kernel/sys.c ???? */ -static int proc_do_uts_string(ctl_table *table, int write, struct file *filp, +static int proc_do_uts_string(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { struct ctl_table uts_table; int r; memcpy(&uts_table, table, sizeof(uts_table)); uts_table.data = get_uts(table, write); - r = proc_dostring(&uts_table,write,filp,buffer,lenp, ppos); + r = proc_dostring(&uts_table,write,buffer,lenp, ppos); put_uts(table, write, uts_table.data); return r; }