Revision edada04b tools/lvmstrap

b/tools/lvmstrap
710 710
    raise OperationalError("CRITICAL: Can't read partition table information"
711 711
                           " from /dev/%s (needed 512 bytes, got %d" %
712 712
                           (name, len(olddata)))
713
  newdata = "\0" * 512
713
  newdata = chr(0) * 512
714 714
  os.lseek(fd, 0, 0)
715 715
  bytes_written = os.write(fd, newdata)
716 716
  os.close(fd)

Also available in: Unified diff