diff options
Diffstat (limited to 'usr.bin/mail/def.h')
-rw-r--r-- | usr.bin/mail/def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/def.h b/usr.bin/mail/def.h index e935c165caa3..e637252f6a8b 100644 --- a/usr.bin/mail/def.h +++ b/usr.bin/mail/def.h @@ -270,5 +270,5 @@ struct ignoretab { */ #define trunc(stream) { \ (void)fflush(stream); \ - (void)ftruncate(fileno(stream), (off_t)ftell(stream)); \ + (void)ftruncate(fileno(stream), ftello(stream)); \ } |