Subject: Re: your mail
To: Benjamin Kenobi <fkrj@crux4.cit.cornell.edu>
From: J.T. Conklin <jconklin@netcom.com>
List: netbsd-bugs
Date: 05/13/1996 19:53:48
> >Description:
> fstat() and stat() return 0 for the file length in the stat
> structure. It may be that they return other incorrect values
> as well. Please let me know what you find.
Your test program used the "%d" format specifier to print the value of
st.st_size, but that field is a quad_t (or long long) and needs to be
printed with either "%qd" or "%lld".
--jtc