patch-2.1.60 linux/kernel/sys.c
Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/module.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Tue Oct 21 08:57:30 1997
-  Orig file: 
v2.1.59/linux/kernel/sys.c
-  Orig date: 
Wed Sep 24 20:05:48 1997
diff -u --recursive --new-file v2.1.59/linux/kernel/sys.c linux/kernel/sys.c
@@ -358,8 +358,8 @@
       fs = get_fs();
       set_fs(KERNEL_DS);
 
-      acct_file.f_op->write(acct_file.f_dentry->d_inode, &acct_file,
-                             (char *)&ac, sizeof(struct acct));
+      acct_file.f_op->write(&acct_file, (char *)&ac, sizeof(struct acct),
+			    &acct_file.f_pos);
       set_fs(fs);
    }
    return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov