Bell 32V development
[unix-history] / usr / src / cmd / init.c
index 1a2534d..7ac4a4b 100644 (file)
@@ -274,7 +274,7 @@ register struct tab *p;
                        for(i=0; i<8; i++)
                                if(wtmp.ut_line[i] != p->line[i])
                                        goto contin;
                        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);
                        for(i=0; i<8; i++)
                                wtmp.ut_name[i] = 0;
                        time(&wtmp.ut_time);