patch-1.3.74 linux/kernel/sys.c
Next file: linux/mm/filemap.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Mar 13 07:54:17 1996
- Orig file:
v1.3.73/linux/kernel/sys.c
- Orig date:
Wed Mar 13 10:09:24 1996
diff -u --recursive --new-file v1.3.73/linux/kernel/sys.c linux/kernel/sys.c
@@ -290,7 +290,7 @@
if (acct_active) {
strncpy(ac.ac_comm, current->comm, ACCT_COMM);
- ac.ac_comm[ACCT_COMM] = '\0';
+ ac.ac_comm[ACCT_COMM-1] = '\0';
ac.ac_utime = current->utime;
ac.ac_stime = current->stime;
ac.ac_btime = CT_TO_SECS(current->start_time) + (xtime.tv_sec - (jiffies / HZ));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this