diff --git a/zmemtopo/zmemtopo.h b/zmemtopo/zmemtopo.h index 07e57490..e35d6983 100644 --- a/zmemtopo/zmemtopo.h +++ b/zmemtopo/zmemtopo.h @@ -68,9 +68,9 @@ struct diag310_t_hdr { } __packed; struct diag310_p_hdr { - char pname[8]; /* partition name */ - uint8_t pn; /* partition number */ - uint8_t tie; /* count of entries following this header */ + char pname[LPAR_NAME_LEN]; /* partition name */ + uint8_t pn; /* partition number */ + uint8_t tie; /* count of entries following this header */ uint16_t reserved1; uint32_t reserved2; } __packed;