process: fix ACCT build
authorAlan Cox <alan@etchedpixels.co.uk>
Tue, 11 Nov 2014 12:35:49 +0000 (12:35 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Tue, 11 Nov 2014 12:35:49 +0000 (12:35 +0000)
Kernel/process.c

index 4f8e5c8..ef9e945 100644 (file)
@@ -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