From: Alan Cox Date: Tue, 11 Nov 2014 12:35:49 +0000 (+0000) Subject: process: fix ACCT build X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=294b183132d6ec1106d83fadc3b454e21d467005;p=FUZIX.git process: fix ACCT build --- diff --git a/Kernel/process.c b/Kernel/process.c index 4f8e5c87..ef9e945a 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -496,8 +496,7 @@ void acctexit(ptptr p) udata.u_count = 48; /* Includes some spare for expansion */ /* Append to the end of the file */ - oftp->o_ptr.o_blkno = ino->c_node.i_size.o_blkno; - oftp->o_ptr.o_offset = ino->c_node.i_size.o_offset; + oftp->o_ptr = ino->c_node.i_size; writei(ino, 0); } #endif