- FATAL_ERROR ((0, errno,
- _("Read error at byte %ld reading %d bytes in file %s"),
- stat_data.st_size - bytes_left, buffer_size, path));
+ {
+ char buf[UINTMAX_STRSIZE_BOUND];
+ FATAL_ERROR ((0, errno,
+ _("Read error at byte %s reading %lu bytes in file %s"),
+ STRINGIFY_BIGINT (stat_data.st_size - bytes_left, buf),
+ (unsigned long) buffer_size, path));
+ }