rem: error (EXIT_FAILURE, errno, "%s", pretty_filename);
add: { if (errno != EAGAIN) error (EXIT_FAILURE, errno, _("error reading %s"), quote (pretty_filename)); break; }
context: dump_remainder (const char *pretty_filename, int fd, off_t n_bytes){  char buffer[BUFSIZ];  size_t bytes_read;  long n_written;  off_t n_remaining = n_bytes;  n_written = 0;  while (1)    {      long n = MIN (n_remaining, (off_t) BUFSIZ);      bytes_read = safe_read (fd, buffer, n);      if (bytes_read == SAFE_READ_ERROR)	error (EXIT_FAILURE, errno, "%s", pretty_filename);      if (bytes_read == 0)	break;      xwrite (STDOUT_FILENO, buffer, bytes_read);      n_remaining -= bytes_read;      n_written += bytes_read;    }  return n_written;}