$NetBSD: patch-ab,v 1.6 2006/10/14 19:33:45 schwarz Exp $ --- account.c.orig 2005-03-31 08:03:10.000000000 +0200 +++ account.c 2006-10-14 19:40:00.000000000 +0200 @@ -31,7 +31,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 */ @@ -216,7 +216,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,