From: Alan Cox Date: Fri, 5 Jun 2015 14:02:08 +0000 (+0100) Subject: syscall_exec16: fix dumb error in optimisation changes X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f9bc19c7f46c40dbc65112bef62258e1f847f638;p=FUZIX.git syscall_exec16: fix dumb error in optimisation changes --- 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