patch-2.2.11 linux/arch/alpha/boot/main.c

Next file: linux/arch/alpha/kernel/Makefile
Previous file: linux/arch/alpha/boot/bootp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.10/linux/arch/alpha/boot/main.c linux/arch/alpha/boot/main.c
@@ -182,7 +182,7 @@
 		nbytes = 0;
 	}
 	envval[nbytes] = '\0';
-	strcpy((char*)ZERO_PAGE, envval);
+	strcpy((char*)ZERO_PAGE(0), envval);
 
 	srm_printk(" Ok\nNow booting the kernel\n");
 	runkernel();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)