1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.5 1999/08/22 22:55:46 kim Exp $
--- account.c.orig Fri Jul 3 17:02:18 1998
+++ account.c Sun Aug 22 18:20:40 1999
@@ -25,7 +25,7 @@
extern int errno;
struct account {
- off_t ac_offset; /* offset in acct file */
+ long ac_offset; /* offset in acct file */
int ac_found; /* present in acct file */
char ac_user[24]; /* user name */
@@ -204,7 +204,7 @@
if (ac->ac_found)
fseek(acctf, ac->ac_offset, 0);
else
- fseek(acctf, (off_t)0, 2);
+ fseek(acctf, (long)0, 2);
fprintf(acctf, OUTPUT_FMT,
ac->ac_user, ac->ac_total, ac->ac_last,
|