Revision abe2770c snf-image-helper/disklabel.py

b/snf-image-helper/disklabel.py
480 480
            "Magic Number: 0x%x\n" % self.magic + \
481 481
            "Drive type: %d\n" % self.dtype + \
482 482
            "Subtype: %d\n" % self.subtype + \
483
            "Typename: %s\n" % self.typename + \
484
            "Pack Identifier: %s\n" % self.packname + \
483
            "Typename: %s\n" % self.typename.strip('\x00').strip() + \
484
            "Pack Identifier: %s\n" % self.packname.strip('\x00').strip() + \
485 485
            "Number of bytes per sector: %d\n" % self.secsize + \
486 486
            "Number of data sectors per track: %d\n" % self.nsectors + \
487 487
            "Number of tracks per cylinder: %d\n" % self.ntracks + \

Also available in: Unified diff