From: Brett Gordon Date: Wed, 2 Mar 2016 21:08:40 +0000 (-0500) Subject: coredump: clear u_error for new batch of calls. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=65a6c8944027eb22d3e9e0094d75972bb6e16445;p=FUZIX.git coredump: clear u_error for new batch of calls. --- diff --git a/Kernel/syscall_exec16.c b/Kernel/syscall_exec16.c index 9d869b93..38e4e8fd 100644 --- a/Kernel/syscall_exec16.c +++ b/Kernel/syscall_exec16.c @@ -361,6 +361,8 @@ uint8_t write_core_image(void) inoptr parent = NULLINODE; inoptr ino; + udata.u_error = 0; + ino = kn_open("core", &parent); if (ino) { i_deref(parent);