projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bell 32V development
[unix-history]
/
usr
/
src
/
cmd
/
init.c
diff --git
a/usr/src/cmd/init.c
b/usr/src/cmd/init.c
index
1a2534d
..
7ac4a4b
100644
(file)
--- a/
usr/src/cmd/init.c
+++ b/
usr/src/cmd/init.c
@@
-274,7
+274,7
@@
register struct tab *p;
for(i=0; i<8; i++)
if(wtmp.ut_line[i] != p->line[i])
goto contin;
- lseek(f,
-(long)
sizeof(wtmp), 1);
+ lseek(f,
(long)-
sizeof(wtmp), 1);
for(i=0; i<8; i++)
wtmp.ut_name[i] = 0;
time(&wtmp.ut_time);