From f9bc19c7f46c40dbc65112bef62258e1f847f638 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 5 Jun 2015 15:02:08 +0100 Subject: [PATCH] syscall_exec16: fix dumb error in optimisation changes --- Kernel/syscall_exec16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/syscall_exec16.c b/Kernel/syscall_exec16.c index cdb046ce..a3784794 100644 --- a/Kernel/syscall_exec16.c +++ b/Kernel/syscall_exec16.c @@ -196,7 +196,7 @@ arg_t _execve(void) /* Wipe the memory in the BSS. We don't wipe the memory above that on 8bit boxes, but defer it to brk/sbrk() */ - uzero((uint8_t *)progptr, progptr + bss); + uzero((uint8_t *)progptr, bss); udata.u_break = (int) progptr + bss; // Set initial break for program -- 2.34.1