patch-2.1.127 linux/arch/i386/boot/tools/build.c
Next file: linux/arch/i386/defconfig
Previous file: linux/arch/alpha/kernel/sys_sio.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 25 14:16:21 1998
- Orig file:
v2.1.126/linux/arch/i386/boot/tools/build.c
- Orig date:
Wed Jun 24 22:54:03 1998
diff -u --recursive --new-file v2.1.126/linux/arch/i386/boot/tools/build.c linux/arch/i386/boot/tools/build.c
@@ -151,7 +151,7 @@
if (setup_sectors < SETUP_SECTS)
setup_sectors = SETUP_SECTS;
fprintf(stderr, "Setup is %d bytes.\n", i);
- memset(buf, sizeof(buf), 0);
+ memset(buf, 0, sizeof(buf));
while (i < setup_sectors * 512) {
c = setup_sectors * 512 - i;
if (c > sizeof(buf))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov