as unsigned long. Problem reported by Eric Blake.
if (seek_records != 0 && !(conversions_mask & C_NOTRUNC))
{
uintmax_t size = seek_records * output_blocksize;
+ unsigned long int obs = output_blocksize;
if (OFF_T_MAX / output_blocksize < seek_records)
error (EXIT_FAILURE, 0,
_("offset too large: "
"cannot truncate to a length of seek=%"PRIuMAX""
" (%lu-byte) blocks"),
- seek_records, output_blocksize);
+ seek_records, obs);
if (ftruncate (STDOUT_FILENO, size) != 0)
{