summaryrefslogtreecommitdiffstats
path: root/arch/alpha/boot/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/boot/main.c')
-rw-r--r--arch/alpha/boot/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/boot/main.c b/arch/alpha/boot/main.c
index dd4e47ab5..c97896e8b 100644
--- a/arch/alpha/boot/main.c
+++ b/arch/alpha/boot/main.c
@@ -182,7 +182,7 @@ void start_kernel(void)
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();