patch-2.1.25 linux/kernel/module.c
Next file: linux/kernel/sched.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jan 29 13:40:34 1997
- Orig file:
v2.1.24/linux/kernel/module.c
- Orig date:
Tue Jan 28 18:50:57 1997
diff -u --recursive --new-file v2.1.24/linux/kernel/module.c linux/kernel/module.c
@@ -583,7 +583,7 @@
calc_space_needed:
for (; i < mod->nsyms; ++i, ++s)
- space += strlen((++s)->name)+1;
+ space += strlen(s->name)+1;
if (put_user(space, ret))
return -EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov